What You Need to Know About C/C++
for CS588 Spring 2014
Prof. David Bernstein
James Madison University
Computer Science Department
bernstdh@jmu.edu
Development Process
Compiling, Linking, and Executing
The Preprocessor
Text replacement
Conditional compilation
Including other files
Classes and Objects
Constructors:
Default, Explicit Value, Copy
Member Initializers
Visibility/Accessibility:
Public, Private, Protected
Friends
Static Members
Inheritance:
Constructors
Polymorphism
Parameter Passing
Calling:
Call/pass by value and reference
Passing pointers
const
Parameters
Returning:
Return by value and reference
Returning pointers
Memory and Pointers
Pointers and References
Static Memory Allocation
Dynamic Memory Allocation
Operator Overloading
Function-like Overloading
Method-like Overloading
Exceptions
try
-
catch
Statement
Createing Exception Classes
"Standard" Exceptions
Templates
Function Templates
Class Templates
Developing with Templates
Specialization and Templates
Input/Output
I/O in C
I/O in C++
There's Always More to Learn