From: Donald Manley Newsgroups: comp.os.msdos.djgpp Subject: Re: Using C for dummies, Rhide and DJGPP HELP? Date: Tue, 15 Sep 1998 19:45:29 -0700 Organization: Pacific Bell Internet Services Lines: 31 Message-ID: <35FF2649.F656DC51@pacbell.net> References: <1998091601403600 DOT VAA09609 AT ladder01 DOT news DOT aol DOT com> NNTP-Posting-Host: ppp-207-215-85-99.scrm01.pacbell.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Uhfgood wrote: > 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? I am unsure on this but am guessing the size is the stdio.h being included into the program. the include, puts the .h file into the program itself at compile time. > 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? A few tutorials tell you it's ok to use: void main() for the program and return nothing. Although this is ok in C, it is not a good programming habbit. What you should do instead is use: int main() { ***you're program here*** return 0; } that will fix the problem. Rafkin Rafkin AT Hotmail DOT com Rafkin AT Pacbell DOT net