| delorie.com/archives/browse.cgi | search |
| From: | joshb AT csrlink DOT net (josh barnes) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: What`s wrong with this program? PLEASE HELP! |
| Date: | Tue, 10 Nov 98 02:01:00 GMT |
| Organization: | CSRlink |
| Lines: | 17 |
| Message-ID: | <7286ia$q6b$1@pigpen.csrlink.net> |
| References: | <364687f9 DOT 37182612 AT news DOT 3web DOT net> |
| NNTP-Posting-Host: | pm3lh1-35.uplink.net |
| X-Newsreader: | News Xpress 2.0 Beta #2 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
>#include <iostream.h>
>int main()
>{
> cout << "Hello World!\n";
> return 0;
>}
just try this:
#include <stdio.h>
main()
{
printf("Hello World!\n");
return(0);
}
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |