delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/10/00:48:31

From: jsfw <jsfw AT no DOT spam DOT pls>
Newsgroups: comp.os.msdos.djgpp
Subject: COUT problem in a small program
Date: Sat, 10 Jun 2000 12:02:18 +0800
Organization: The Chinese University of Hong Kong
Lines: 21
Message-ID: <3941BDCA.1635ABAC@no.spam.pls>
NNTP-Posting-Host: dialup4-006.csc.cuhk.edu.hk
Mime-Version: 1.0
X-Trace: justice.csc.cuhk.edu.hk 960609923 20286 137.189.211.6 (10 Jun 2000 04:05:23 GMT)
X-Complaints-To: abuse AT cuhk DOT edu DOT hk
NNTP-Posting-Date: 10 Jun 2000 04:05:23 GMT
X-Mailer: Mozilla 4.73 [en] (Win98; U)
X-Accept-Language: en,zh-TW,zh-CN,zh
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

i'm a beginner in DJGPP and C++.

my program hello.c  : 

#include <iostream.h>
int main()
{
 cout << "hello world";
 exit(0)
}


DOS prompt :

C:\djgpp>gcc -c Wall hello.c

gcc.exe: Wall: No such file or directory (ENOENT)
hello.c:1: iostream.h: No such file or directory (ENOENT)


do u know what's wrong with the compilation of my small program?

- Raw text -


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