Object Oriented Programming (COMP351)
Basics of C++ and control structures. Object-Oriented programming and its specific features. Layout of a simple C++ program (elementary C++ programming). Overview of selection and iteration structures of C and C++ languages. Functions and Arrays. Pointers and dynamic memory allocation with C++ operators new and delete. C strings and C++ string class. C-strings, input/output operations, standard C-string functions, C++ string type (the standard string class). Classes and data abstraction. Structure definition. Accessing members of a structure. Class declarations, constructors, constructor initialization lists. Class destructor, member access specifiers public and private, const member functions, friend functions and classes, static data and function members. Operator Overloading. Composition and Inheritance. Header files.