Intro to C++ Programming with Unix (for CS-Majors)
Code examples from the textbook (Gaddis)
Lecture Notes and Outlines
Introduction to C++ and Programming
C++ Basics (Part 1)
C++ Basics (Part 2)
Control Structures - Intro, Selection
Control Structures - Repetition
Stepwise Refinement (in-class example)
Functions
Functions
Functions: Overloading and Default Parameters
Pass By Reference
Random Number Generation
(some library functions)
The I/O Stream Libraries
Formatting Output Streams
Basic File I/O and Stream Objects
I/O Streams -- Other Features
Array Basics
Example written in class -- tracking dice rolls with frequency array
Arrays and Functions
String I/O and
cstring
library
String objects library
Array searching and sorting
Examples of searching and sorting arrays
that we wrote in class
Pointer Basics
Pointers: Pass by Address, Pointers and Arrays
Pointers: Dynamic Memory Allocation
Structures Part 1: Intro
Structures Part 2: More about structs
Enumerations
C topics
Input/Output in C (with
stdio.h
)
C vs. C++
Unix Notes
(These are notes sets that were used in the COP 3353 course, so some of them refer to that course number)
Intro to Unix, Shells, nano
Working with Files and Directories
First 4 videos posted in "Course Media" on the Canvas page cover what is in this notes outline
Intro to two other text editors: emacs and vi
Input/output redirection and pipes
Corresponds to time index 17:00 - 33:00 on video "Unix: Hints, Tips, Tricks, and useful core commmands
Review Materials
Review List of topics covered (for Test 1)
Test format and some practice coding problems to try
Review List of topics covered (since Test 1, for Test 2)
Review List of topics covered (since Test 2)