CMIS 140 Class Notes directory

A free up-to-date Windows ANSI C++ compiler: Dev-C++ (12 MB)
My Dev-C++ setup tips

Foster Term 2 Syllabus
DE Term 2 Syllabus

Download all example programs. (.ZIP 20K)
Download class notes (.PDF 227K)
Foster Homework 1
Foster Lab exercise 1
intervals.cpp
Foster Lab exercise 2
Foster Homework 2
Foster Lab exercise 3
Foster Lab exercise 4: arrays
array_first.cpp
Homework 3
Bonus Lab exercise
Foster Lab exercise 5: 2D array
Foster Homework 4
Foster Lab exercise 2 Dec
Foster Lab exercise 7 functions
Foster Lab exercise reference arguments

Week 2. Review of 102. Chapters 1-6

  • Book sections & exercises
  • Compiling & Grading
  • IDENTIFIERS
  • INTS and FLOATS
  • CHAR
  • STRING
  • IF
  • WHILE
  • LOGICAL OPERATORS

    Week 3. Chapter 9

  • SWITCH
  • FOR
  • DO

    Weeks 4-6. Chapters 7 and 8

  • BUILT-IN FUNCTIONS
  • MAKING FUNCTIONS
  • SCOPE RULES
  • FUNCTION EXAMPLES
  • FUNCTION ARGUMENTS

    Week 7&8. 1D Arrays. Chapter 12

  • CONST
  • ARRAYS 1D
  • ARRAY ARGUMENTS

    Week 9&10. 2D Arrays. Chapter 12

  • 2D ARRAY
  • 2D Array Arguments
  • MORE ARRAYS

    Week 13&14. Structs. Chapter 11 (part)

  • STRUCTS
  • ARRAY of STRUCTS
    ©David Wills