Mail Archives: djgpp/2001/03/01/12:44:27
from: Johan Henriksson, leadprogrammer @ www.realsoftware.cjb.net
"The individual should be praised for it's struggle, the society
condemned for it's actions" - me 1997 #12035895
----------------------------------------------------------------------------
-------------------
>> I'm new to this C++, so I have a few Question.
>> 1. when you write the source code do you save it as text? what
>> extention
>yes, file.c for c, file.cpp for c++
I think .cc works too but I don't do CC.
>> 2. can you write it in and text program?
>what?
<any?>
No, it must work with plain text. Notepad, Edit and Rhide works well.
>> 3. how do you compile your program once it is written?
>depends on your compiler
You use DJGPP?
GCC myfile.c -o myfile.exe
>> for example where do you save the source code to be compiled?
>where do you want to save it?
Anywhere. Preferably close to the game data etc
>> and how do you compile it?like is it in dos or what?
>again, depends on the compiler
For DJGPP; yes.
- Raw text -