.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #28  
Old February 11th, 2001, 07:16 PM

Zanthis Zanthis is offline
Corporal
 
Join Date: Jan 2001
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
Zanthis is on a distinguished road
Default Re: THE best strategy game of all times! :D

Instar wrote:
quote:

#include <stdio.h>
void main()
{
printf("Go lay an egg, you bumbling freak!\n");
}

Assuming this is C, main() must return an int. If your compiler accepts void as main()'s return type, you've been lucky. Obviously, this means you'd need to add a return statement returning zero.

Sorry for the nitpick. Seen this very error in college level books and it kinda annoys me knowing we are teaching future programmers bad habits.

[This message has been edited by Zanthis (edited 11 February 2001).]
__________________
-Zan
Reply With Quote
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:05 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.