This course is an introduction to the C andÂ C++ programming language.Â The C programming language has spurred many language developments since its invention by Dennis Ritchie in the early 1970s. Many modern programming languages owe their syntax to C.Â C is still a very popular programming language after over 40 years.Â C++ is based on C, but extends the language with features such as function templates, namespaces, and (of course) classes.
In this course, we'll explore the C and C++Â programming language.Â We'll start with data types of C, then quickly dispel the mystery (and fright) that surrounds C's most powerful element, the pointer. Understanding pointers first allows us to grasp the underlying nature of arrays and structs, parameters passed by reference, and many other things hidden by other languages but exposed in C.
Then we will move to streams inÂ C++Â , which simplify input and output a great deal.
Here's a briefÂ list of what you'll learn:
C Topics :
- Data types and operators
- Pointers and arrays
- Command line arguments
- Decisions and loops
- The stack vs. the heap, and dynamic allocation
C++ Topics :
- Primitive data types and variables
- How to create and use namespaces
- Basic I/O in C++ using streams
- File input and output using streams
- Function templates - a look at writing generic code
- Classes and objects
- Constructors and Destructors
- Inheritance (Single and Multiple)
If you've been thinking about learning C andÂ C++, then this course is a good first step.