delorie.com/archives/browse.cgi | search |
From: | "-hs-" <email DOT invalid AT server DOT invalid> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: hello world program still not working |
Date: | Sun, 16 Jul 2000 15:24:09 +0200 |
Lines: | 45 |
Message-ID: | <8ksd1q$pi9$1@news6.isdnet.net> |
References: | <8ks68a$8ht$1 AT newsflood DOT tokyo DOT att DOT ne DOT jp> |
NNTP-Posting-Host: | r82m140.cybercable.tm.fr |
Mime-Version: | 1.0 |
X-Trace: | news6.isdnet.net 963753850 26185 195.132.82.140 (16 Jul 2000 13:24:10 GMT) |
X-Complaints-To: | abuse AT isdnet DOT net |
NNTP-Posting-Date: | 16 Jul 2000 13:24:10 GMT |
X-Newsreader: | Microsoft Outlook Express 4.72.3110.5 |
X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3110.3 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Dan and Shelly a écrit dans le message <8ks68a$8ht$1 AT newsflood DOT tokyo DOT att DOT ne DOT jp>... >I found out that I needed to download and extract the gcc program. So I did >that and tried the hello world program again using rhide. I typed in: > >#include include what ? >int main() >{ >printf("Hello world!\n"); >exit(0); >} > > >But now when I try to run the above program in rhide, I get the error message that the >#include is expecting a file name after it. Did I forget to download something else beside the gcc program? Try that #include <stdio.h> int main(void) { printf("Hello world!\n"); return 0; } If this doesn't work, you have an install problem. -- -hs- Tabs out, spaces in. CLC-FAQ: http://www.eskimo.com/~scs/C-faq/top.html ISO-C Library: http://www.dinkum.com/htm_cl FCLC-FAQ: http://www.isty-info.uvsq.fr/~rumeau/FAQ-FCLC/FAQ-FCLC.html C-tips: http://jackklein.home.att.net
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |