• Advertisement

Archived

This topic is now archived and is closed to further replies.

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

This topic is 5403 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any noticable difference? I''m currently using just int main() for convenience.
- Rob Loach Current Project: Go Through Object-Oriented Programming in C++ by Robert Lafore "Do or do not. There is no try." - Yoda

Share this post


Link to post
Share on other sites
Advertisement
New question!!

int main() { ... }

vs

short main[] = {1, 2, 3, 4, 5, 6};

Share this post


Link to post
Share on other sites
I do dis:


  
void main()
{
}


It kicks major-league ass.

Share this post


Link to post
Share on other sites
It''s also not allowed by the C++ standard.


How appropriate. You fight like a cow.

Share this post


Link to post
Share on other sites
quote:
Original post by kordova
Clicky.

Given Fucho''s recent posts, it''s clear he programs in C++.


How appropriate. You fight like a cow.

Share this post


Link to post
Share on other sites
I assumed that, but provided it as evidence for your statement. Cheers!

Share this post


Link to post
Share on other sites

  • Advertisement