home *** CD-ROM | disk | FTP | other *** search
- Every program must have exactly one function main(). The name
- main is reserved for the first function executed in all C and C++
- programs. A difference between C and C++ is that main() can have
- a return type other than int. This function main() is of type
- void because it does not supply a return code to the operating
- system when it ends.
-