Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 129 - CoreGPT(Podar)_Flipbook_C8
P. 129

    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 Dash. Type DOSBox Emulator in the Search bar. The application icon appears,
                              click on it to open. The DOSBox screen appears as shown below:
                     Step 2   Type the following commands
                              to open Turbo C++ window:
                              Z:\> MOUNT C ~

                              Z:\> C:
                              C:\> CD TC

                              C:\TC\>CD BIN
                              C:\TC\BIN> TC.EXE

                                                                                     DOS Box window
                      Clickipedia

                       The reason Turbo C++ cannot run directly on Edubuntu is that it is designed for the DOS
                       operating system. To overcome this, we use DOSBox, a DOS emulator for Linux systems.

                           INTRODUCTION TO EDITOR WINDOW

                     The following window shows the Editor window where C++ programs are written.

                     You can type, modify or delete statements here. This process of making changes is known as
                     editing a program.

                                                                                               Introduction to C++      127

| 124 125 126 127 128 129 130 131 132 133 134 |