CS 127 Programming Examples, Winter 1998
- From class on 1/5/98.
hello.cpp (a simple "hello world" program),
vowel.cpp (a vowel-counting program),
and
main.cpp,
stringstuff.cpp,
and
stringstuff.h (a two-source-file-one-header program).
Compile like so: "g++ -Wall -o executablename listoffiles.cpp -lg++".
- From class on 1/19/98.
gnustrings.cpp (a brief demonstration
of the g++ String type).
- From class on 2/11/98.
time1.cpp and
time2.cpp.
- From class on 2/16/98.
inputFiles.cpp.
- From class on 3/6/98.
args.cpp.
Jeff Ondich,
Department of Mathematics and Computer Science,
Carleton College, Northfield, MN
55057,
(507) 646-4364,
jondich@carleton.edu