Anonymous user
Modulinos: Difference between revisions
→{{header|C++}}
Line 33:
=={{header|C++}}==
C++ programs cannot do scripted main, because main() is implicitly included by another program, test.c, even when scriptedmain.h is empty.
The following example will not work with another program, test.c, due to duplicate main() functions at compile time.
<lang cpp>#include <iostream>
|