CS 1570 - Intro to Programming C++

The following is a list of the topics covered in one semester of CS 1570 and the accompanying lab, CS 1580:

    • A review of the course syllabus

    • An introduction to how computers work:

      • hardware

      • software

      • high and low level computer languages

      • compilers

      • editing, compiling, and running programs in C++

    • C++ basics

      • declarations of variable types (integer types, float types, char, bool, STL string class, consts

      • operators (assignment, arithmetic, modulus, arithmetic-and-assign, ++ and --

      • logical operators (&&, ||, !)

      • relational operators (<, <=, >, >=, ==, !=)

    • flow control structures

      • if, if-else, and switch-case

      • while loops

      • do-while loops

      • for loops

      • nested if's and loops

    • ternary operator

    • functions

      • prototypes

      • definitions

      • invocations

      • pass-by-value vs. pass-by-reference parameters

      • Pre- and Post- conditions

      • function overloading

      • function templates

      • inline functions

      • static variables

    • separate file compilations for programming project

    • structs

    • introducing the basics of arrays (single and multidimensional)

      • traversal

      • searching

      • sorting

      • modifications and use

    • file I/O

      • connecting and testing connection

      • closing connection

      • reading from a file and writing to a file

      • character input/output - getline() and get() and ignore() functions

    • classes and OOP

      • public and private

      • variables and functions

      • constructors

      • friend functions

      • overloading operators

      • template classes

      • static member variables, constants, and functions

    • pointers

    • inheritance

    • polymorphism

    • other topics

      • namespaces

      • command-line arguments

      • enumerations

      • typedefs

Current Course Information