Programming in the C++ Language COURSE DESCRIPTION This course will teach the syntax and constructs of the C++ programming language. Both basic and advanced techniques will be shown. COURSE OBJECTIVES The overall course objective is to teach sufficient C++ language information to have the programmer at production coding level by the end of the course. COURSE TOPICS Overview of object oriented programming evolution of programming types encapsulation polymorphism inheritance Review of major C language features C++ language program structure common features with ANSI C Differences between C and C++ function prototyping positioning of variable declarations character constant conversion identifier names conventions operator precedence overloading operators Basic and advanced I/O in C++ istream class ostream class cout and cin I/O object (functions) I/O manipulators character and line input objects customizing I/O manipulators file I/O functions Defining and using classes basic class definition private and public members allocation of (class) objects constructors and destructors dynamic memory allocation/deallocation arguments to constructors Arrays, pointers, and references in C++ object pointers assigning objects the this pointer arrays of objects Defining and using Functions in C++ class member functions prototyping overloading function capabilities (automatic) in-line functions passing objects to functions returning objects from functions returning references from functions friend functions references virtual functions overloading constructor functions template functions default arguments Inheritance base and derived classes access control constructors and destructors multiple inheritance virtual base classes COURSE DURATION This course normally requires five (5) days, approximately 50 % lecture and 50 % programming lab time. COURSE PREREQUISITES It is assumed that the participant has taken a C language programming course, and/or is proficient in C constructs. |