Mail Archives: djgpp/1998/01/31/15:18:34

From: "Yeeming Jih" <yjihREMOVE AT erols DOT NOSPAM DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: "std::" doesn't compile
Date: Sat, 31 Jan 1998 15:13:39 -0500
Organization: Erol's Internet Services
Lines: 19
Message-ID: <6b00ni$c8q$>
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

There is a Hello-World! program in chapter 3 of Stroustrup's The C++
Programming Language, 3rd Edition, as follows:

#include <iostream>

int main()
 std::cout << "Hello, world!\n";

Well, it doesn't compile because DJGPP's compiler cannot find a file called
"iostream." Even if I add ".h" the compiler will complain about std not

P.S. I was reading the three publicly available chapters of the book as

- Raw text -

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