delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/03/01/12:44:27

Message-ID: <028301c0a278$4d0c4980$6300a8c0@brk>
From: "Johan Henriksson" <jhe AT realsoftware DOT cjb DOT net>
To: <djgpp AT delorie DOT com>
Subject: Re: c++ problem
Date: Thu, 1 Mar 2001 18:50:49 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019