🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

help

Started by
1 comment, last by bardock 22 years, 10 months ago
i just started learning c++ so i got a ''teach yourself in 24 hours'' book and it came with a cs that had the tuturals already done and a djgpp compiler(i think its called djgpp) but when i did the first tutural,the hello world one i do just as it says dont know how to build helloworld.o from c:/djgpp/bin/helloworld but it does work when i load up the exact same thing only its the tutural. and when i type its all in yellow but in the tutural there all differnt colors. can someone plz help.thanks.
Advertisement
I''m not familiar with your editor or the book your refering to but you may want to save the file as helloworld.cpp

The .cpp extension informs the compiler it''s C++. A .c extension informs that it is a C translation unit. (There''s .h and .hpp, etc but I don''t want to throw too much at you right now)

YAP-YFIO
-deadlinegrunt

~deadlinegrunt

yep thanks it works now

Hello World!

This topic is closed to new replies.

Advertisement