| www.delorie.com/archives/browse.cgi | search |
| From: | "Maan M. Hamze" <mmhamze AT pleiades DOT net> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Stupid newbie question |
| Date: | 12 Jun 1997 07:07:02 GMT |
| Organization: | The Pleiades Network |
| Lines: | 27 |
| Message-ID: | <01bc76ff$09684e20$7c0d2499@electra> |
| References: | <339E1C67 DOT 492CDD81 AT icx DOT net> |
| NNTP-Posting-Host: | 1cust124.max5.houston2.tx.ms.uu.net |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Josh Lothian <tlothian AT icx DOT net> wrote in article
<339E1C67 DOT 492CDD81 AT icx DOT net>...
>
> #include <iostream.h>
>
> int main()
> {
> cout<<"hello";
> }
>
Also, better to write:
int main(void)
{
cout << "hello\n";
return (0);
}
or
cout << "Hello!" << endl;
Maan
--
Maan M. Hamze
The Pleiades Network
mmhamze AT pleiades DOT net
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |