title: How to print line numbers?
body: <p>I'm new to programming and I have a program which runs but I need to display line numbers for it. Could I used the C macro <code>__LINE__</code>? If so where could I insert it in the code and if not what could I do in order for the program to print out line numbers along with the code? Thanks in advance. </p>