From: Tekno Tom Newsgroups: comp.os.msdos.djgpp Subject: Getting DJGPP to work? Date: Sun, 30 Mar 1997 12:21:16 +0000 Sender: Tekno Tom Message-ID: Reply-To: tkt AT doreholm DOT demon DOT co DOT uk NNTP-Posting-Host: doreholm.demon.co.uk Lines: 28 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Well all I want to do is create a very simple C++ program . I have unzipped lgp271b.zip, gpp2721b.zip, obc2721b.zip, txi390b.zip, gcc2721b.zip, djdev201.zip, bnu27b.zip and pmodel11.zip to their default directories and updated my autoexec.bat. Here is the program or 'prog1.cpp' // Program 1.1 #include void main() { cout << "Hello! " "Congratulations on your first" " C++ program"; } When I run 'cc1plus prog1.cpp' I always get C:\djgpp\bin>cc1plus prog1.cpp prog1.cpp:1: parse error before `/' prog1.cpp:3: undefined or invalid # directive then lots of 'time in' stuff. What am I doing wrong exactly? I am new to C++ and therefore djgpp, so please explain in english.