delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/09/15/21:45:22

From: uhfgood AT aol DOT com (Uhfgood)
Newsgroups: comp.os.msdos.djgpp
Subject: Using C for dummies, Rhide and DJGPP HELP?
Lines: 24
Message-ID: <1998091601403600.VAA09609@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
Date: 16 Sep 1998 01:40:36 GMT
Organization: AOL http://www.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello my name is Keith and i'm new to this group.  I just got C for dummies
volume one.  Well basically I have two questions.  Firstly when i'm in rawhide
I make my source file save it and compile it.  I made a simple hello world
style program... like this

#include <stdio.h>

void main()
{
               printf("Goodbye, cruel world!\n");
}

okay well it runs fine and does what it supposed to but the execute for this
little program is 83k... Why is this so big?  and then I also get a Warning
that comes up in RHides message window, that says something like (function main
does not return "int"), or some such thing and i'm wondering why it does this? 
I'm not necessarily a newbie to programming but i am new to C... and new to
DJGPP, so please go easy on me even tho these are such trivial questions.
Thanks                                                                         
     -KWII-

*Keith Weatherby II*
*Uhfgood AT aol DOT com*
*Vice AT gconn DOT com*

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019