In the first unit, we will learn the mechanics of editing and compiling a simple program written in C++. We will begin with a discussion of the essential elements of C++ programming: variables, loops, expressions, functions, and string class. Next, we will cover the basics of object-oriented programming: classes, inheritance, templates, exceptions, and file manipulation. We will then review function and class templates and the classes that perform output and input of characters to/from files. This course will also cover the topics of namespaces, exception handling, and preprocessor directives. In the last part of the course, we will learn some slightly more sophisticated programming techniques that deal with data structures such as linked lists and binary trees.
This course contains a number of sample programs and review exercises. Through these exercises, students should better learn how to write functions, use the string class, and write elementary data structures such as linked lists and binary trees.
Upon successful completion of this course, students will be able to:
Compile and execute code written in C++ language.
Work with the elementary data types and conditional and iteration structures.
Define and use functions, pointers, arrays, struct, unions, and enumerations.
Write C++ using principles of object-oriented programming.
Write templates and manipulate the files.
Code and use namespaces, exceptions, and preprocessor instructions.
Write a code that represents linked lists and binary trees.
Translate simple word problems into C++ language.
Perform debugging and fixing of common C++ errors.
Manage memory appropriately, including proper allocation/deallocation procedures.
More info: http://www.saylor.org/courses/cs107/