Help:Programming Example Prototypes: Difference between revisions
Content added Content deleted
(Added highlighted code example) |
(Added works with, lang tags) |
||
Line 172: | Line 172: | ||
Multiple spaces are fine; Please use proper indentation in your code. |
Multiple spaces are fine; Please use proper indentation in your code. |
||
=={{header|Your Language Here}}== |
=={{header|Your Language Here}}== |
||
<c>int main(){ |
<lang c>int main(){ |
||
printf("this is highlighted code"); |
printf("this is highlighted code"); |
||
printf("there is no need for spaces at the start of lines"); |
printf("there is no need for spaces at the start of lines"); |
||
return 0; |
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> |