User Tools

Site Tools


Sidebar

tutorials:c-tips

This is an old revision of the document!


C Tips

Read the OS class assignment recommendations.

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.1396627323.txt.gz · Last modified: 2014/04/04 19:02 by razvan