www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/25/23:21:24

From: "Born Naughty" <leemeng AT cyberway DOT com DOT sg>
Newsgroups: comp.os.msdos.djgpp
Subject: Compiling C++ program...
Date: 25 Sep 1996 10:13:04 GMT
Organization: Cyberway User
Lines: 17
Message-ID: <01bbab47$e53b0a20$ee191bca@leemeng.cyberway.com.sg>
NNTP-Posting-Host: 202.27.25.238
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I've got djgpp installed, compiling C program is ok, but when I compiled
the helloworld program using <iostream.h>... I've got error messages not
understanding what
cout is all about..


how do I compile a C++ program without appending the header files  at my
command prompt.

ie. gcc -(what options?) helloworld.cpp    
instead of   gcc  helloworld.cpp -(header files) as documented...


Anyone who can make some sense of what i'm saying will be greatly
appreciated.

- Raw text -


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