Mail Archives: djgpp/1998/09/13/11:16:54
From: | Paul Miyasaki <psaki AT carol DOT net>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | DJGPP under Windows NT
|
Date: | Sun, 13 Sep 1998 11:16:22 -0400
|
Organization: | Info Avenue Internet Services
|
Lines: | 13
|
Message-ID: | <35FBE1C6.8151D6D9@carol.net>
|
NNTP-Posting-Host: | dialin2110a.carol.net
|
Mime-Version: | 1.0
|
NNTP-Posting-Date: | 13 Sep 1998 15:08:16 GMT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I'm running NT workstation 4.0 and having trouble compiling programs.
The error message I get is:
In file included from c:/djgpp/lang/cxx/fstream.h:30,
fromt c:\temp\student.cpp:13:
c:/djgpp/lang/cxx/iostream.h:31: streambuf.h No such file or directory
(ENOENT)
I'm just uing the command line version . Any help would be greatly
appreciated.
Paul Miyasaki
yet
l> pressing the Q key exits the program just fine. What am I doing wrong
l> or what am I forgetting?
The compiler is understanding the following:
while( c= (getkey()!='q') ) { ... }
You should put in a parenthesis:
while( (c=getkey()) != 'q') { ... }
I hope this was useful.
Regards,
Eneko Lacunza.
enlar/Genesis
Fidonet 2:344/19.11 Fidonet forever!
e-mail strip hidespam. from header's address
http web.jet.es/enlar
- Raw text -