E2067 'main' must have a return type of int (C++)

From RAD Studio
Jump to: navigation, search

Go Up to Compiler Errors And Warnings (C++) Index

In C++, function main has special requirements, one of which is that it cannot be declared with any return type other than int.