I know that when I compile a C source file with a main()
function in Visual C++, the entry point for my program will be mainCRTStartup()
.
But what if I compiled my source file as a C++ file, will the entry point also be mainCRTStartup()
, or does C++ have a different entry point?