C/C++中从来没有定义过void main( )。
C++之父Bjarne Stroustrup在他的主页上的FAQ中明确地写着The definition void main( ) { /* ... */ } is not and never has been C++, nor has it even been C.( void main()从来就不存在于C++或者C)。
C/C++中从来没有定义过void main( )。
C++之父Bjarne Stroustrup在他的主页上的FAQ中明确地写着The definition void main( ) { /* ... */ } is not and never has been C++, nor has it even been C.( void main()从来就不存在于C++或者C)。