Difference between revisions of "Coding Standards"
From Wiki
(→Test) |
|||
| Line 3: | Line 3: | ||
Here is a code snippit... | Here is a code snippit... | ||
| − | <syntaxhighlight lang= | + | <syntaxhighlight lang=c> |
//Testing | //Testing | ||
void Function_Name(uint8_t blah) | void Function_Name(uint8_t blah) | ||
| Line 11: | Line 11: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
| − | <syntaxhighlight lang=" | + | <syntaxhighlight lang=c> |
| + | #include <stdio.h> | ||
| + | int main() | ||
| + | { | ||
| + | printf ("Hello world!"); | ||
| + | return 0; | ||
| + | } | ||
| + | </syntaxhighlight> | ||
| + | |||
| + | <syntaxhighlight lang=python> | ||
def quickSort(arr): | def quickSort(arr): | ||
less = [] | less = [] | ||
Revision as of 15:29, 11 August 2017
Test
Here is a code snippit...
//Testing
void Function_Name(uint8_t blah)
{
//Do something
}#include <stdio.h>
int main()
{
printf ("Hello world!");
return 0;
}def quickSort(arr):
less = []
pivotList = []
more = []
if len(arr) <= 1:
return arr
else:
pass