Mail Archives: djgpp/2002/07/04/19:55:54
From: | "Dockeen" <dockeen AT mchsi DOT com>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Re: compiler not working
|
Date: | Thu, 4 Jul 2002 18:03:56 -0400
|
Message-ID: | <NCBBLKKJGBJOLDFMCKFPGEKLCAAA.dockeen@mchsi.com>
|
MIME-Version: | 1.0
|
X-Priority: | 3 (Normal)
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
|
Importance: | Normal
|
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000
|
Reply-To: | djgpp AT delorie DOT com
|
One other point, if you are going to use the "new" iostream
notation, you need to include namespace std, i.e.
#include<iostream>
using namespace std;
int main(void)
{
cout << "hello world again\n";
int waynesadummy;
cin >> waynesadummy;
return 0;
}
I do the last part out of habit, for windows stuff that may
open your output window, write, then close it before you see
anything. You can skip it for this sort of app.
Wayne
- Raw text -