by David Hamrick |
||
| Home Links Starting Out Variables Projects
|
Comments Comments are a vital part of C Programming. It allows you to remind yourself of what parts of your program do. It allows you to take part of the program out without deleting them. There are two different types of comments that will be shown here. Firstly the old style multi line comment. The old style comments allow you to do multiple lines of comments. For example #include <stdio.h> int main() If you run that program you will only see - The new Style comments are based on Lines of code. For example printf("This line is not commented"); All that will appear on the screen is - Comments are a very simple, easy but very vital part of
programming.
|