Help:Programming Example Prototypes: Difference between revisions

Added works with, lang tags
(Using Template:Libheader, instead of Template:Library)
(Added works with, lang tags)
 
(One intermediate revision by the same user not shown)
Line 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