Tuesday, 5 February 2013

A Collection of Sample C++ Programs


A Collection of Sample C++ Programs

http://www.cs.uregina.ca/Links/class-info/cplusplus/CExample.html
This page contains links to sample C++ programs.  This page is not intended for any particular Computer Science class, but may be helpful for anyone who is currently taking a CS course (esp. CS110, and CS170) using C++, or who is simply interested in getting started in C++.  Brief explanations will be provided for each sample program.
The sample programs are organized into the following topics.  They might not follow any logical order.:
 Hello World, Basic I/O, Variables, Constants Program Flow Functions
Modularity Arrays Formatted I/O, File I/O
 Pointers References Structure
 Class and Object Inheritance Polymorphism

No comments:

Post a Comment