delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/31/18:08:51

From: pneyz <pneyz AT bethany DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: "std::" doesn't compile
Date: Sat, 31 Jan 1998 14:54:17 -0800
Organization: Smoof Team
Lines: 22
Message-ID: <34D3AB99.CA4EC800@bethany.edu>
References: <6b00ni$c8q$1 AT winter DOT news DOT erols DOT com>
NNTP-Posting-Host: scz-ca17-15.ix.netcom.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

> #include <iostream>
> 
> int main()
> {
>  std::cout << "Hello, world!\n";
> }

Try:

#include <iostream.h>

int main (void)
{
 cout << "Hello, world!\n";
 return 0;
}

-- 
/*
   pneyz / Smoof Team              pneyz AT bethany DOT edu
   "Fine Malt Coding"              http://ns.bethany.edu/pneyz/
*/

- Raw text -


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