www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/18/03:16:36

From: "Lucas Moten" <lucasmoten AT axiomstudios DOT com>
To: "DJGPP Listserv" <djgpp AT delorie DOT com>
Subject: Bad Header Files???
Date: Thu, 18 Jun 1998 00:58:45 -0400
Message-ID: <000f01bd9a75$c5e65660$0300a8c0@lucas>
MIME-Version: 1.0
Importance: Normal
Sensitivity: Personal

I cant compile a classic Hello World program listed below.

#include <iostream.h>
void main(void) {
cout << "Hello World\n";
}

I get an error in 'streambuf.h':
d:/djgpp/lang/cxx/streambuf.h(35) Error: parse error before string constant

This is a simple }
extern "C" {
#include <libio.h>
}

Do I have bad header files?
Is there something I need to configure?
Is this in the FAQ? - Only thing I saw there was the long filename issue.

- Raw text -


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