Mail Archives: djgpp/1995/07/17/02:09:17
Xref: | news-dnh.mv.net comp.os.msdos.djgpp:923
|
Path: | news-dnh.mv.net!mv!news.sprintlink.net!jaring.my!techm!kenfoo
|
From: | kenfoo AT techm DOT pl DOT my (Kenneth Foo)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | [Q] DJGPP2. PC.H problems.
|
Date: | Sun, 09 Jul 95 05:41:39 GMT
|
Organization: | Renegade Demo Group
|
Lines: | 26
|
To: | djgpp AT sun DOT soe DOT clarkson DOT edu
|
Dj-Gateway: | from newsgroup comp.os.msdos.djgpp
|
I've just got myself the beta version of DJGPP 2.0, and I tried
compiling a very-very simple C++ code. (Yes, I installed GPP too)
The file name is T.CC and it goes something like this.
include "stdio.h"
include "pc.h"
void main(void) {
/*(Do nothing)*/
}
And the compiler gives some weird parser error before "::" or something.
However, if I rename the file to T.C for standard C compilation, no
problems at all!
Thanks for reading, people!
PS: Yes...I need C++ because of the nice way to put in comments ;-)
PS2: Another thing with DJGPP 2.0 is that the system command doesn't
work and I can't shell to DOS. Oh well...it could be that it's not
implemented yet (?) or CWSDPMI's fault.
Yuk!
- Raw text -