Help:Adding a new programming example: Difference between revisions

m
→‎Navigation: Rm extra spaces
(→‎Navigation: Added directions that lang tags should always be used even for unsupported languages)
m (→‎Navigation: Rm extra spaces)
Line 14:
 
<nowiki>=={{header|C}}==
{{works with|gcc|4.0.1}}
{{libheader|SDL}}
 
Optional text explaining stuff
 
<lang c>
int main ( void ) {
// Some code here
}
</lang></nowiki>
 
You don't have to use the C programming language, and your code example will probably be different. You need to make sure you create a link to your language of choice, and to your compiler, interpreter, or what-have-you using the "works with" template. You should also note any special [[libraries]] you use with the "libheader" template.
Anonymous user