Talk:Modulinos: Difference between revisions
→Ambiguities
m (→Ambiguities) |
|||
Line 46:
Test the C program yourself. As long as scriptedmain.h is missing the main() prototype, a second file test.c will not execute scriptedmain.c's main(). --[[User:Mcandre|Mcandre]]
:I see that you have updated the description of the C program, to specify that scriptedmain.h is blank, so I have removed those comments that referred to this issue. However, since the example does not demonstrate the use of any API, I think the example is useless and unclear. (We have to imagine that we know what you are trying to illustrate.)
:That said, my current impression is that you are asking us to illustrate putting the API in a separate file from the definition of "main". If that is the case, most of the examples here (including the one I wrote) are incorrect. --[[User:Rdm|Rdm]] 13:49, 6 March 2011 (UTC)
|