cppforever.com
Home
Functions
Function main()
Advanced form of main
Go Up
Advanced form of main
int main(int argc, char* argv[])
alternative equivalent form: int main(int argc, char** argv)
Meaning of the parameters
argc: argument count (minimum 1 → program name)
argv: argument vector (list of C-strings)