Page 10 - Modular_V2.0_C++_Flikpbook
P. 10
FEATURES OF C++
Some of the important features of C++ language are:
Object-Oriented Programming: C++ focuses on objects rather than just step-by-step
instructions. Objects are real-world entities that contain both data (variables) and functions
(methods) that operate on the data. This makes programming more structured, reusable, and
easier to manage.
Example: If we create a program for a car, we can make a Car object that contains properties
(like colour, speed) and functions (like start, stop).
Platform Independent: C++ is a platform-independent language, meaning that a program
written in C++ can run on different operating systems with little or no modification. If a
program is written and compiled on Windows, it can also run on Linux, MacOS, or other
operating systems, as long as a compatible C++ compiler is available.
Simple and Popular: C++ is a simple and popular programming language because it is easy
to learn and widely used in various fields like gaming, software development, and robotics.
Its syntax is very easy to understand.
High-Level Language: C++ is a high-level programming language, which means it is easy
to read and understand, just like English. Unlike low-level languages that use numbers and
symbols, C++ uses simple words and rules, making it easier for beginners to learn.
Case-Sensitive: C++ is a case-sensitive language, which means it treats uppercase and
lowercase letters as different. For example, the words “pay” and “PAY” are not the same in
C++. The computer sees them as two different words.
Compiler-Based: C++ is a compiler-based language, which means the computer translates
the whole program into machine language before running it. This makes C++ faster compared
to many other programming languages. For example, when you write a C++ program, it
goes through a compiler, which checks and converts it into a language that the computer
understands (0s and 1s).
STARTING TURBO C++
Turbo C++ is a software used for writing, compiling, and running C++ programs. It allows users
to write and edit code using an editor, check for errors using a compiler, and find and fix mistakes
using a debugger. Perform the following steps to start Turbo C++:
Step 1 Click on the Start button or press the
Windows key on your keyboard.
Step 2 In the search bar, type Turbo C++ and
press Enter.
Step 3 Click on the Turbo C++ application
from the search results. The DOSBox
window will open.
Step 4 In the DOSBox window, click on the
DOSBox window
Start Turbo C++ button.
8
Touchpad MODULAR (Ver. 2.0)

