Prof. Emmi Schatz, MCC CS Dept
Email Me Office Hours My Home Page CS Dept Home Page MCC Home Page


CSC133 Intro to CS Using C++ Handouts

 

ASCII Code

Algorithms

Sample Program: Calculate Weekly Pay

Sample Program: Calculate Weekly Pay with Taxes

Output

Input

Sample Program Using an If: Calculate Weekly Pay with Taxes and Overtime

Selection

Operator Precedence

Vocabulary

Event Controlled Loop

Incorrect Event Controlled Loop

Event Controlled Loop

Count Controlled Loop

Count Controlled Loop

Event Controlled Loop

Using a Flag to Control a Loop

For Loop

For Loop

Printing to an Output File

Reading From an Input File

Reading From an Input File (Read until Sentinel)

Reading From an Input File (Read until EOF)

Nested Loops

Nested Loops

Search for a Value in a File (Uses a Flag)

Program with Functions

Function with a Local Variable

Void Function

Function That Returns a Value

Function That Returns a Value

Call by Value

Call by Reference

Call by Reference Example

Call by Reference Example

Passing Files as Parameters

Vocabulary II

Array Example

Array Example

Arrays and Functions

Topdown Design

Searching an Array

Searching an Array (Version 2)

Parallel Arrays

Two Dimensional Arrays

Two Dimensional Arrays and Functions

Two Dimensional Arrays: Row and Column Processing

Array Tips

C Style Strings

Sample Program: C Style Strings


Email Me | Office Hours | My Home Page | Department Home | MCC Home Page

© Copyright Emmi Schatz 2002

Last Updated: