Installing C++ Compiler on a computer

Installing C++ Compiler


Installing C++ in Windows

Method 1


Step2:Open jcppedit after installing,then click new->Cpp File

Step3:Write some c examples and save it [For Examples Click Here]

Step4:Press f9 to compile it

Step5:Happy Coding

Method 2



 

 
Step2:Open dosbox after installing,then click new

Step3:Write some c examples and save it with .cpp extension [For Examples Click Here]

Step4:select compile option to compile it

Step5:select run option to execute it
Step6:Happy Coding

-------------------------------------------------------------------------------

Installing C inUbuntu



Hi  friends! iam gonna install the same Turbo C on Ubuntu that i installed on Windows

Step 1: Open terminal.

Step 2: Type sudo apt-get install dosbox

Step 3: When it is installed download TC and extract it and paste it in home directory.

Step 4: Type dosbox in terminal to open it.

Step 5: Create a configuration file by typing this command on dosbox console

config -writeconf dosbox.conf

[Note: By default dosbox.conf file is created in home directory.]

Step 6: Write these commands on dosbox console

mount c ~ /home/your_username

c:

cd tc/bin

tc or tc.exe


Step7:Open dosbox after installing,then click new

Step8:Write some c examples and save it with .c extension [For Examples Click Here]

Step4:select compile option to compile it

Step5:select run option to execute it

Ctrl+F9 for Turbo C and Ctrl+q to quit from dosbox.

Happy learning!!! 

Comments

Popular posts from this blog

Installing Bash Emulator on a computer

The Assembly Process Of 8086 Microprocessor-Two Pass Assembling Steps

Introduction to C++ Programming Language