vc++ 7.1 #include problems

  • Thread starter Thread starter www.espiredreams.net
  • Start date Start date
W

www.espiredreams.net

I recently started using vs2003 from vc++ 6.0. I am
having the starngest of problems. I cannot include any
files into my code (string.h or iostream.h). I installed
vs '03 after a clean install of windows (no problems with
prior versions of vs). I have checked to make sure all
the include directories are correct. It just doesn't
make sense to me. ANY help would be well appreciated.
 
www.espiredreams.net said:
I recently started using vs2003 from vc++ 6.0. I am
having the starngest of problems. I cannot include any
files into my code (string.h or iostream.h). I installed
vs '03 after a clean install of windows (no problems with
prior versions of vs). I have checked to make sure all
the include directories are correct. It just doesn't
make sense to me. ANY help would be well appreciated.

Are you sure string.h doesn't work? <iostream.h> not working makes sense,
as the pre-standard IOStreams are no longer supported by VC7.1 (you have to
convert to the C++ Standard IOStreams - <iostream>, <fstream>, etc - no .h).

By contrast, <string.h> is an ISO-C standard header file, and is definitely
supported by VC7.1.

-cd
 
Back
Top