C Board  

Go Back   C Board > Community Boards > General Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 06-15-2005, 09:32 AM   #1
Toaster
 
Zach L.'s Avatar
 
Join Date: Aug 2001
Posts: 2,686
main returns int -- compiler returns nonsense

Sometimes, I rather hate compilers:
Code:
encs_driver.cc:16: error: extraneous `int' ignored
encs_driver.cc:16: error: `main' must return `int'
__________________
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.
Zach L. is offline   Reply With Quote
Old 06-15-2005, 09:48 AM   #2
Anti-Poster
 
Join Date: Feb 2002
Posts: 1,212
Heh...that's classic. Reminds me of this.
__________________
Rule #1: Every rule has exceptions

Traveller's Dilemma Contest Site - Results posted!
pianorain is offline   Reply With Quote
Old 06-15-2005, 09:53 AM   #3
Mayor of Awesometown
 
Govtcheez's Avatar
 
Join Date: Aug 2001
Location: MI
Posts: 8,826
Obviously the 'int' you have in there right now is old and crusty. Replace it with a new, clean one and you should be golden.
__________________
-Govtcheez
govtcheez03@hotmail.com
Govtcheez is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to combine these working parts?? transgalactic2 C Programming 0 02-01-2009 08:19 AM
Function argument assignment between types "unsigned int*" and "unsigned long*" nadeer78 C Programming 8 03-10-2008 11:57 AM
Working with random like dice SebastionV3 C++ Programming 10 05-26-2006 09:16 PM
Setting int pointers to one function (not using five functions!) Marc Sharp C Programming 4 11-23-2003 07:15 AM
Quack! It doesn't work! >.< *Michelle* C++ Programming 8 03-02-2003 12:26 AM


All times are GMT -6. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22