Skip to content

Instantly share code, notes, and snippets.

@MrAnno
Created January 17, 2015 00:51
Show Gist options
  • Save MrAnno/b45725b00aa41b070eb8 to your computer and use it in GitHub Desktop.
Save MrAnno/b45725b00aa41b070eb8 to your computer and use it in GitHub Desktop.
C++ valid termination of program
#include <stdlib.h>
int 1main(int argc, char** argv)
{
exit(0);
exit(1);
exit(); //csak hogy tutira kilépjen
return 0; //ez nem tudom mi, de ettol tuti nem lép ki
}
@MrAnno
Copy link
Author

MrAnno commented Oct 2, 2017

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment