CSC100::Code::Fall 2017
Introduction to Computer Science (C++)

NAMEWEEK#DESCRIPTION
rotpunct.cpp 11 This program "rotates" punctuation characters.
ispunct.cpp 11 This program prints the "punctuation" characters as defined by the STDC Library ispunct() function.
arrays4.cpp 11 This program introduces encryption using rot13 (and rot5 and our own punctuation rot). It is a continuation of arrays0.cpp and arrays1.cpp and arrays2.cpp. and arrays3.cpp.
factorial.cpp 11 This program computes the factorial of a number using recursion.
arrays3.cpp 11 This program contains an implementation of a recursive binary search. It is a continuation of arrays0.cpp and arrays1.cpp and arrays2.cpp.
arrays2.cpp 11 This program introduces the topic of arrays. It is a continuation of arrays0.cpp and arrays1.cpp.
random.cpp 11 This program re-introduces the topic of pseudo random numbers.
arrays1.cpp 11 This program introduces the topic of arrays. It is a continuation of arrays0.cpp.
arrays0.cpp 10 This program introduces the topic of arrays.
noglobal.cpp 10 This program introduces the topic of scope.
global.cpp 10 This program introduces the topic of scope.
tag.cpp 9 Use random numbers and functions to play a form of tag.
opposite.cpp 9 Print the opposite of a number using a function.
doit.cpp 9 The hailstone.cpp doit() function changed to print a number 'n' and return 'n + 1'.
hailstone.cpp 9 Prints the "number of halving and tripling steps to reach 1 in '3x + 1' problem."
fi2i.cpp 8 This program converts feet and inches to total inches. It is used to help learn about functions.
sqrtpow.cpp 8 This program demonstrates the STDC Library's sqrt() and pow() functions.
letters.cpp 8 This program is used to help introduce the topic of functions.
CompoundAssignmentOps.cpp 8 This program demonstrates the use of the arithmetic compound assignment operators (+= -= *= /= %=).
IncrementDecrementOps.cpp 8 This program demonstrates the use of the increment (++) and decrement (--) arithmetic operators.
Switch.cpp 8 This program demonstrates the use of the switch selection control statement.
GoToElevator.cpp 8 A version of Elevator.cpp that uses goto statements instead of repetition control statements.
Elevator.cpp 7 This program offers an example of using for loops.
narcissistic.cpp 7 This checks to see if a number is a Narcissistic number. {narcissistic2.cpp checks multiple numbers per execution}
triangles.cpp 7 Prints triangles using nested loops. [written during class]
fibonacci.cpp 7 Prints the first few numbers of the Fibonacci integer sequence. [written during class]
f10for.cpp 6 Program demonstrates a counter-controlled for loop.
ForAdder.cpp 6 This program introduces the for repetition control statement using a sentinel-control loop. Note: This code was written during class (fall'09).
f10do.cpp 6 Program demonstrates a counter-controlled do while loop.
DoAdder.cpp 6 This program introduces the do-while repetition control statement using a sentinel-control loop.
f10while2.cpp 6 This program demonstrates nested loops.
f10while.cpp 6 This program demonstrates a counter-controlled while loop.
whileLoops.cpp 6 This program demonstrates the while statement.
Adder.cpp 5 This program introduces the while repetition control statement using a sentinel-control loop.
generations.cpp 5 This program maps birth year to generation.
calc.cpp 5 An implementation of a simple calcuator that uses if statements and the else clause and the logical operators. [written during class]
years.cpp 5 This program demonstrates the use of variables and arithmetic operators. {years2.cpp | years3.cpp}
if1.cpp 4 This program helps introduce relational operators, the if statement and the else clause. {from 2016: if2.cpp | if.cpp}
if0.cpp 4 This program was written during class to help introduce relational operators, the if statement and the else clause.
Expressions1.cpp 4 A re-write of the Expression0.cpp which contains a bunch of complicated EXPRs used to study precedence and associativity.
Expressions0.cpp 4 This program contains a bunch of EXPRs that are used to examine the precedence and associativity rules followed by the compiler.
arithmetic.cpp 4 This program demonstrates doing some real world arithmetic.
ArithOps.cpp 3 This program demonstrates the use of arithmetic operators.
Constants.cpp 3 This program uses constants and reviews how variables are are defined.
PrimitiveTypes.cpp 3 This program demonstrates how to define variables using the primitive data types of the language.
BadHelloWorld.cpp 3 A C++ version of the "hello, world" program that is written using poor programming style.
template.txt 2 This is a template that can be used to start new C++ program files.
HelloWorld.c 2 The "hello, world" program written in C.
HelloWorld.cpp 1 The "hello, world" program written in C++.


Creator: Gerald Thurman [gthurman@gmail.com]