Difference between revisions of "Coding Standards"

From Wiki
Jump to: navigation, search
(→‎Test)
(Blanked the page)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
=== Test ===
 
  
−
Here is a code snippit...
 
−
 
−
<syntaxhighlight lang=c>
 
−
//Testing 
 
−
void Function_Name(uint8_t blah) 
 
−
{ 
 
−
    //Do something 
 
−
} 
 
−
</syntaxhighlight>
 
−
 
−
<syntaxhighlight lang=c>
 
−
#include <stdio.h>
 
−
int main()
 
−
{
 
−
printf ("Hello world!");
 
−
return 0;
 
−
}
 
−
</syntaxhighlight>
 
−
 
−
<syntaxhighlight lang=python>
 
−
def quickSort(arr):
 
−
less = []
 
−
pivotList = []
 
−
more = []
 
−
if len(arr) <= 1:
 
−
return arr
 
−
else:
 
−
pass
 
−
</syntaxhighlight>
 

Latest revision as of 13:53, 22 May 2018