Page 11 - Modular_V2.0_C++_Flikpbook
P. 11

Step 5   The Turbo C++ window will open with a default file named NONAME00.CPP, ready
                          for coding.

                 The Turbo C++ window consists of the following sections:

                                                                                            Menu Bar:  It  contains
                                                                                            different  menus like File,
                                                                                            Edit, Search, Run, Compile,
                                                                                            Debug,  Project,  Options,
                                                                                            Window  and Help.  These
                   Editor: This  is  the                                                    menus help  user  to  do
                   main blue area where                                                     various  tasks like create  a
                   users can  write and                                                     new  file,  save  a  program,
                   edit programs.                                                           compile a program and run
                                                                                            a program.

                                                                                               Status  Bar:  It provides
                                                                                             shortcut keys to perform
                                                                                             various actions like save,
                                                                                             open and compile.
                                                         Turbo C++ window
                                Clickipedia



                       You can download the setup of Turbo C++ from the following link:
                       https://developerinsider.co/download-turbo-c-for-windows-7-8-8-1-and-windows-
                       10-32-64-bit-full-screen/
                       To install Turbo C++, double-click on the downloaded setup and follow the instruc-
                       tions that appears in the dialog box.



                 Creating the "Hello World" Program

                 Type the following code in the Turbo C++ window.

                 #include<iostream.h>
                 #include<conio.h>
                 void main()
                 {
                       cout<<"Hello World";

                 }
                 Saving a Program

                 Perform the following steps to save a file:
                 Step 1   Click on the File menu. A drop-down
                          menu appears.

                 Step 2   Select the Save option. The Save File
                          As dialog box appears.
                 Step 3   Type a file name in the Save File As box.
                          In this case, we have typed Hello.cpp.
                                                                      Saving a program      Save File As dialog box
                                                                                                                  9
                                                                                              Introduction to C++
   6   7   8   9   10   11   12   13   14   15   16