ftp.delorie.com/archives/browse.cgi | search |
From: | Ian Chapman <ichapman AT nortelnetworks DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: cout + latest version? |
Date: | Mon, 15 Nov 1999 09:44:52 -0500 |
Organization: | Nortel |
Lines: | 20 |
Message-ID: | <38301C64.B476CAC0@nortelnetworks.com> |
References: | <3823718F DOT 51A3 AT tin DOT it> <800emi$10iv AT enews3 DOT newsguy DOT com> <805uff$b44$1 AT news DOT doit DOT wisc DOT edu> <806t6a$1u3i AT enews4 DOT newsguy DOT com> <809lmf$o2o$1 AT news DOT doit DOT wisc DOT edu> |
NNTP-Posting-Host: | bcarib90.ca.nortel.com |
Mime-Version: | 1.0 |
X-Mailer: | Mozilla 4.7 [en] (Win95; U) |
X-Accept-Language: | en |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Mumit, I'm not at all able to see what the issue is. cout works like any text book will tell you. I did not know that you could get away with out the *.h in the include bit. Wonder why? and what digs with this std? I'm not learning from you, I'm sure that you can be more enlightening rather than coming through as a smartie. Regards Ian. Mumit Khan wrote: >---------------------------------------------------------------------- > > > >#include <iostream> /* don't need the .h part */ > >int main() /* could use void, but no difference */ > >{ /* um, it's a bracket */ > > cout << "Hello World!\n"; /* Hello to you too! */ > > return 0; /* program terminates normally */ > >} /* hey it's another bracket! yea! */ > >
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |