help
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.
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement