Computing.Net > Forums > Programming > Hello.cpp... FAILED! C++help needed

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Hello.cpp... FAILED! C++help needed

Reply to Message Icon

Name: Tweet;e
Date: October 27, 2002 at 09:59:34 Pacific
OS: Windows 98SE
CPU/Ram: 733mhz, 200ram.
Comment:

Ok.. Well i did that first program..(you know, the first exe you make when learning c++) and it wont compile. Im using Borland c++ Builder 6 (like my book suggests) and whenever i try to run it, it says 'cannot find file iostream.h' (which is included in the source code) and it says 'Undefined Symbol Cout' but all the source codes in my book use the word Cout. WHAT SHOULD I DO??!



Sponsored Link
Ads by Google

Response Number 1
Name: Don Arnett
Date: October 27, 2002 at 10:31:41 Pacific
Reply:

Not finding 'iostream.h' is causing the 'cout' problem.

I don't use Builder, so I can't help much there, but it sounds like somethings not set up right. There should be a default include path defined and iostream.h should be in that default path.

Are you sure that your book uses iostream.h and not just 'iostream'. I've seen that before.


0

Response Number 2
Name: Tweetle
Date: October 27, 2002 at 13:25:00 Pacific
Reply:

absoultly positive. What do you use? I dont mind using another compiler. Just as long as it works.


0

Response Number 3
Name: Trip
Date: October 27, 2002 at 15:12:04 Pacific
Reply:

You are including iostream in right?
You don't need the .h in the include, some
compilers throw an error if you do.

Also its cout not Cout, its case sensitive,
make sure you've got your case right.


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


date&time server wise Java Problems



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: Hello.cpp... FAILED! C++help needed

C Help needed www.computing.net/answers/programming/c-help-needed/10424.html

C++ vs Pascal help needed www.computing.net/answers/programming/c-vs-pascal-help-needed/11150.html

C++ help needed www.computing.net/answers/programming/c-help-needed/2816.html