error with 'void main()' in C++ tool
Any help is appreciated -- thanks.
MacBook, Mac OS X (10.5.8)
MacBook, Mac OS X (10.5.8)
Tron55555 wrote:
So I guess there's no easy way around that then?
Tron55555 wrote:
Out of curiosity, you mentioned that "void main()" is technically invalid C++ code -- would that apply to C as well? The reason I ask is because, in .c file in Xcode, "void main()" only raises a warning, as opposed to the actual error raised in a .cpp file. Is "void main()" invalid in standard C as well? I would assume so, given that C++ is a superset of C, but just curious...
int main(array<System::String ^> ^args)
#define void int
error with 'void main()' in C++ tool