C Program Examples


These examples are all compiled using a C++ compiler. C++ compilers can compile C programs, and they allow certain features that are not supported in C compilers. For instance, all of the examples use // comments. These comments are legal in C++ but not in C.

Printing the Notes


Page URL: http://www.d.umn.edu/~gshute/C/examples/index.html
Page Author: Gary Shute
Last Modified: Wednesday, 09-Jan-2008 13:43:59 CST
Comments to: gshute@d.umn.edu