He he, get to plug my thread.
First of all, there's a free complier for C++ called DevC++, which you can get
here.
Second, and this one should be easy to find becasue it's pinned (gloat) but
"Guesst's Games" has several fine examples of C programs, if I do say so myself.