Why Use a Language Like C++ Course?
At its core, a computer is just a processor with some memory, capable of arunning tiny instructions like “store 5 in memory location 23459.” Why would we express a program as a text file in a programming language, instead of writing processor instructions?
The c++ Course advantages:
1. Conciseness: programming languages allow us to express common sequences of commandsmore concisely. C++ provides some especially powerful shorthands.
2. Maintainability: modifying code is easier when it entails just a few text edits, instead of rearranging hundreds of processor instructions. C++ is object oriented (more on that in Lectures 7-8), which further improves maintainability.
3. Portability: different processors make different instructions available. Programs written as text can be translated into instructions for many different processors; one of C++’s strengths is that it can be used to write programs for nearly any processor. C++ is a high-level language: when you write a program in it, the shorthands are sufficiently expressive that you don’t need to worry about the details of processor instructions. C++ does give access to some lower-level functionality than other languages (e.g. memory addresses).
takes those object files and the compiled libraries of predefined code that they rely on, fillsin all the gaps, and spits out the final program, which can then be run by the operating system (OS).The compiler and linker are just regular programs. The step in the compilation process in which the compiler reads the file is called parsing. In C++, all these steps are performed ahead of time, before you start running a program.
In some languages, they are done during the execution process, which takes time. This is one of the reasons C++ code runs far faster than code in many more recent languages. C++ actually adds an extra step to the compilation process: the code is run through a preprocessor, which applies some modifications to the source code, before being fed to the
1.3 General Notes on C++ Course
C++ is immensely popular, particularly for applications that require speed and/or accessto some low-level features. It was created in 1979 by Bjarne Stroustrup, at first as a setof extensions to the C programming language. C++ extends C; our first few lectures willbasically be on the C parts of the language.
Though you can write graphical programs in C++, it is much hairier and less portable thantext-based (console) programs. We will be sticking to console programs in this course.
c++ course outline
- · Introduction to Programming and C++
- · Object-Oriented Features
- · Objects
- · C++ Application Code
- · Constructors
- · Encapsulating into an object
- · Destructors
- · Associations
- · Inner Classes
- · C++ References
- · Initialization
- · C++ Operators
- · Static Members
- · Composition / Aggregation
- · Constant Members
- · Inheritance
- · Interfaces
- · Exception Handling
- · Object Design
Course Fee: 10,000/-