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.
Question for DJGPP users
Name: TempusElf Date: September 30, 2002 at 15:31:39 Pacific OS: Windows 98 CPU/Ram: Pentium III 128ram
Comment:
I wanted to compile C++ programs using DJGPP... after installing it, I wrote a "Hello World"-ish program to make sure that I installed it correctly and the strangest thing happened: it read iostream just fine but then proceeded to tell me that cout and endl were undifined(!!!)... I've read posts on the internet by other people with similar problems and they were always told to compile with gxx or to specify -lstdcxx... I've tried both of these things I've also looked through all the DJGPP documentation I could find... at this point im giving up and using BloodShed Dev-C++ ... but it still bothers me how it just doesn't want to work and I'm currious if anyone here has any clues as to what could be causing this problem
Name: cup Date: October 1, 2002 at 01:59:28 Pacific
Reply:
after your includes, before any other code, add
using namespace std;
It is probably a namespace problem.
0
Response Number 2
Name: TempusElf Date: October 1, 2002 at 05:59:57 Pacific
Reply:
hey cool, it worked... I've seen people use that namespace before but I don't know anything about it... i guess its time to do some research... thanks cup!
Summary: I have created a Qbasic program which contain 5 question for the user to answer! Now, the only problem I have is I want to make the program to have scoring system to inform user how they fare in the q...
Summary: thanks for the wonderful reply ROLOS. I didn't mean to offend wizardfred. I just thought he was trying to be a wise guy. If the question was genuine please accept my apology. this is what i want to do...