Help:Programming Example Prototypes: Difference between revisions

Added works with, lang tags
(update to new Header template; close italics)
(Added works with, lang tags)
 
(3 intermediate revisions by 3 users not shown)
Line 12:
[[Category:Your Compiler Here]]
 
'''Library:''' [[{{libheader|Your Library Here]]}}
[[Category:Your Library Here]]
 
Some code.
Line 31 ⟶ 30:
[[Category:Your Compiler Here]]
 
'''Library:''' [[{{libheader|Your Library Here]]}}
[[Category:Your Library Here]]
 
Some code.
Line 46 ⟶ 44:
[[Category:Your Interpreter Here]]
 
'''Library:''' [[{{libheader|Your Library Here]]}}
[[Category:Your Library Here]]
 
Some code.
Line 65 ⟶ 62:
[[Category:Your Interpreter Here]]
 
'''Library:''' [[{{libheader|Your Library Here]]}}
[[Category:Your Library Here]]
 
Some code.
Line 133 ⟶ 129:
 
=={{header|Your Language Here}}==
'''Library:''' [[{{libheader|Your Library Here]]}}
[[Category:Your Library Here]]
 
Some code.
Line 149 ⟶ 144:
 
=={{header|Your Language Here}}==
'''Library:''' [[{{libheader|Your Library Here]]}}
[[Category:Your Library Here]]
 
Some code.
Line 177 ⟶ 171:
Notice how each line begins with at least one space.
Multiple spaces are fine; Please use proper indentation in your code.
=={{header|Your Language Here}}==
<lang c>int main(){
printf("this is highlighted code");
printf("there is no need for spaces at the start of lines");
return 0;
}</lang>
=={{header|Your Language Here}}==
{{works with|library/compiler/interpreter|Version Number}}
<lang c>int main(){
printf("this is highlighted code");
printf("there is no need for spaces at the start of lines");
return 0;
</lang>
Anonymous user