User Tools

Site Tools


Sidebar

tutorials:c-tips

This is an old revision of the document!


= C Tips =

Read the OS class assignment recommendations.

Go through the OS class tips for C usage.

Run your code through a static/dynamic checker (as also stated in the link above). cppcheck and valgrind come into mind.

You may also run your code through the Linux kernel's checkpatch.pl: http://wintergreenworks.wordpress.com/2012/05/30/checkpatch-linux-coding-style-check/

Use a header with logging macros. Nice links:

tutorials/c-tips.1396627375.txt.gz · Last modified: 2014/04/04 19:02 by razvan