View Single Post
Old 08-03-2005, 04:07 AM   #25
Pangloth
Newbie

 
Join Date: Mar 2005
Location: ,
Posts: 10
Send a message via MSN to Pangloth
Default

Not trying to be the code nazi or anything but ANSI C++ mandates that main() is declared as returning an int and taking two arguments:

int main(int argc, char *argv[])

in which case you need to include a return statement.
Pangloth is offline                         Send a private message to Pangloth
Reply With Quote