Including Header Files in VC++
This is going to sound incredibly stupid, and I feel foolish for asking, but I''ve just recently installed VC6 onto a computer in my office. I''ve gotten into C++, and am just becoming truly aquainted with the VC environment. I have it at home, but it was originally setup by someone else.
Anyways, I''ve installed it here and all looks right, but when I go to include the stdio.h header file, then use something simple, like cout, it tells me it''s an undeclared identifier. I checked the settings and the directory that stdio.h is kept in is included as one of the directories to include for storing header files and reading them. I''m really not sure why it isn''t working. If anyone can point me in the right direction, I''m sure I''ll be fine. Thanks!
zippo
I should further specify that I am including it like this:
#include
then in the main function, use it, for example, like this:
cout << "Hello World";
#include
then in the main function, use it, for example, like this:
cout << "Hello World";
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement