String Header File Not Found : LUSENET : Steve Heller's books : One Thread

I recently got Steve's new book "Learning to Program in C++", and I tried to install the compiler, and it seemed to work except if I tried to quit out of RHIDE or if I tried to compile it would crash. I guessed that the fact that I was running Windows XP Home was the cause, so I went to the DJGPP site and downloaded the 2.03 version of DJGPP and 1.49 of RHIDE which both claimed XP compatibility. After installation (yes, I deleted the old install), I tried again, and I sucessfully created a working .exe file. The only problem is that if I ever try to include the string header file, as designated by the book (using the source code from the back of the book), or any variant that supposedly help (see bottom of post), I am told there is a parse error or that the string header file cannot be found. What is going wrong?

Here are all of the variation I have tried. After trying all of these I copied the contents of the code folder into the include folder of the DJGPP installation and tried again, also with no luck. #include "string6.h" #include "string7.h" #include "string.h" #include "string" #include #include #include #include

I also tried to link string6.h and along with my source code and it told me that string was a new, undefined function and then gave me errors for every instance of string. The same happened with string7.h and Any help would be appreciated.

Joseph Meyerowitz

-- Joseph Meyerowitz (, June 12, 2002


same here: "String Header file not found"

I am having the same problem, but I'm using W98 2d.

-- Tristan Cuba (, July 20, 2002.


There is something wrong here...I'm at that address, don't know who did dude is... maybe he has a typo?

-- ToshiroOC (, January 10, 2003.

Moderation questions? read the FAQ