- 1,251 categories
- 40,829 scripts
Updated: 10/03/2007
- function main() is the application''s main routine where a program starts execution.It is the first user-written function run when a program starts.Object-oriented C++ programs consist mostly of classes, but there''s always at least one C-like function: main(). main() is called more or less at the beginning of the program''s execution, and when main() ends, the runtime system shuts down the program. main() always returns an int, as shown below:
- Categories
- Platforms
- Licenses
- Author