From: rellwood Newsgroups: comp.os.msdos.djgpp Subject: Re: PROJECT Date: 23 Apr 1997 19:56:02 -0700 Organization: University of Southern California, Los Angeles, CA Lines: 29 Sender: rellwood AT aludra DOT usc DOT edu Message-ID: References: <335EA415 DOT 6057 AT pacbell DOT net> NNTP-Posting-Host: aludra.usc.edu Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII In-Reply-To: <335EA415.6057@pacbell.net> To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk On Wed, 23 Apr 1997 adamk AT pacbell DOT net wrote: > Can someone tell me how to start a program with djgpp? > Thats my only question. Oh my! That's a very big question, and rather vague. What exactly do you want to program? Do you mean you need help setting up DJGPP so that it will compile? Are you using RHIDE or Emacs or no IDE at all? Here's the infamous first program that everyone writes when (s)he get a new compiler: #include main() { cout << "Hello, world!" << endl; } Type this into any old text editor and save it as HELLO.CC or something, then at the DOS prompt enter: gcc -g -Wall hello.cc -o hello.exe Then execute it with "hello". If this doesn't work, then you haven't installed DJGPP correctly, otherwise you're ready to roll. -Richard Ellwood