C: What is a good source to teach standard/basic code conventions to someone newly learning the language?

Posted by shan23 on Programmers See other posts from Programmers or by shan23
Published on 2011-06-29T17:40:10Z Indexed on 2012/09/03 21:48 UTC
Read the original article Hit count: 253

Filed under:
|
|

I'm tutoring someone who can be described as a rank newcomer in C. Understandably, she does not know much about coding conventions generally practiced, and hence all her programs tend to use single letter vars, mismatched spacing/indentation and the like, making it very difficult to read/debug her endeavors.

My question is, is there a link/set of guidelines and examples which she can use for adopting basic code conventions ? It should not be too arcane as to scare her off, yet inclusive enough to have the basics covered (so that no one woulc wince looking at the code).

Any suggestions ?

© Programmers or respective owner

Related posts about c

    Related posts about code-quality