Modulinos: Difference between revisions

52 bytes removed ,  13 years ago
(Added LLVM)
Line 5:
 
=={{header|C}}==
C programs havecannot do scripted main, by default; as long asbecause main() is notimplicitly included inby theanother headerprogram, filetest.c, thiseven program'swhen (empty) APIscriptedmain.h is accessible by other C codeempty.
 
scriptedmain.hThe isfollowing blank;example itwill isnot includedwork in order to show that ifwith another C fileprogram, test.c, includesdue scriptedmain,to scriptedmain'sduplicate main() isfunctions notat compile executedtime.
 
<lang c>#include "scriptedmain.h"
Line 31:
return 0;
}</lang>
 
 
=={{header|C++}}==
Anonymous user