Help with projects and C++: The template file project.cpp: [ project.cpp ] plus a demonstration of what a project looks like [ demo.cpp ] when done.
Frequently Asked Questions
Frequently asked questions (and some my answers) about our system here:
[ CS_FAQ.html ]
As the quarter proceeds the "Notes" will be filled in with
your questions and some answers. The whole set is linked into the course web page search to help you answer qustions and review the the material.
Special Topics
[ coins1.cpp ]
How programs work
[ ch02.cpp ]
[ av03a.cpp ]
[ av03b.cpp ]
How to write simple programs:
[ polya.html ]
Fill in the blanks: [ project.cpp ] [ demo.cpp ]
Decisions
[ luv.cpp ]
Loops
[ while0.cpp ]
[ uscor.cpp ]
[ bresenham.cpp ]
[ sqrt1.cpp ]
[ tsqrt.cpp ]
[ tsqrt1.cpp ]
[ sqrt2.cpp ]
[ tsqrt2.cpp ]
[ r62.cpp ]
[ piman.cpp ]
[ terminator.cpp ]
[ terminator2.cpp ]
[ mtable.cpp ]
Functions
[ functions.html ]
[ function.help ]
[ function.cpp ]
[ a09.cpp ]
[ fred.cpp ]
[ fac.cpp ]
[ mini.bad ] [ mini.cpp ] [ maxi.bad ] [ maxi.cpp ] [ quad.bad ] [ quad.cpp ] [ quad2.cpp ] [ swap.bad ] [ swap.cpp ] [ order.bad ] [ order.cpp ]
[ av07.cpp ] [ av26.cc ] [ av27.cc ] [ 03b.cc ] [ 03c.cc ] [ 03d.cc ]
Classes
[ ch06.html ]
[ animals.cpp ]
[ f8.cpp ]
[ ex15.cpp ]
[ ex15a.cpp ]
Vector and Arrays
Notes:
[ vectors.html ]
Examples:
[ bar.cpp ]
(salary bar chart)
[ ex18a.cpp ]
(find biggest number)
Putting a vector inside a class: a class that stores a sample and calculates statistics: [ e19.cpp ]
Example of a 2 dimensional array: [ demo2d.cpp ]
An unsafe array wrapped up to make a safe class: [ array.cpp ]
Here are some more old quizzes. Quizzes 3 and 4: [ q03.htm ] [ q04.htm ] Quiz 06 with errors [ q06.bad ] , corrected [ q06.cpp ] , and the differences between the bad and the good: [ q06.delta ] (as generated by the command
diff q06.bad q06.cpp)
Answer to quiz 07 is in [ ch04b.htm ]
Quiz 10: Bad [ q10.bad ] and fixed: [ q10.cpp ]
Quiz 10: Fill in blanks in
[ q12.set ]
giving
[ q12.cpp ]
C++
Documentation
[ c++.stream.cpp ]
[ ccc.html ]
[ c++.html ]
[ C++.FAQ ]
[ C++.libraries.FAQ ]
[ C.FAQ ]
[ http://csci.csusb.edu/dick/doc/ ]
Examples
From the CS201 book
[ examples ]
. . . . . . . . . ( end of section C++) <<Contents | End>>
Unified Modeling Language UML
[ uml.html ]
UNIX
A Beginners guide to UNIX
[ http://www.dafydd.net/soft/unix/uguide/ ]
List of UNIX Commands: [ unix.commands ] [ timing.a.program ] [ unix.commands.html ]
How to become a power user: (1) Join the CSci Club, (2) take this class [ http://csci.csusb.edu/dick/cs360/ ]
vi
Starting:
[ vi.txt ]
[ vi.commands ]
To be downloaded and printed: [ vi1.gif ] and [ vi2.gif ] Plus [ vi_charts.pdf ] (first page in PDF (Ok for Linux)) and [ vi_charts.ps ] (Postscript).
More advanced stuff: [ vi.notes.html ] [ vi.FAQ ]
Glossary
Here is a fun and useful guide to the words and phrases
that computer people use. I think it is both comprehensive, funny,
pretty accurate:
. . . . . . . . . ( end of section CS201: Introduction to Computer Science) <<Contents | End>>
Abreviations