Skip to main content

How to Compile C Programs


How to Install Borland C++ compiler?

Follow the below steps to install Borland C++ compiler 5.5 on your PC:
  1. Download Borland C++ compiler 5.5 (for Windows platform) from the following link:
  2. After you download, run the file C++5.51.exe. The default installation path would be:
    C:\Borland\BCC55

How to configure Borland C++ compiler?

Here is a step-by-step instruction on how to configure the compiler:
  1. After you install Borland C++ compier, create two new Text Documents.
  2. Open the first New Text Document.txt file and add the following two lines into it:
    -I”c:\Borland\Bcc55\include”
    -L”c:\Borland\Bcc55\lib”
    Save changes and close the file. Now rename the file from New Text Document.txt to bcc32.cfg.
  3. Open the second New Text Document (2).txt file and add the following line into it:
    -L”c:\Borland\Bcc55\lib”
    Save changes and close the file. Rename the file from New Text Document (2).txt to ilink32.cfg.
  4. Now copy the two files bcc32.cfg and ilink32.cfg, navigate to C:\Borland\BCC55\Bin and paste them.

How to Compile the C Source Code (.C files)?

Here is a detailed instruction on how to compile C source codes:
  1. You need to place the .C (example.c) file to be compiled in the following location:
  2. C:\Borland\BCC55\Bin
  3. Now go to the command prompt (Start->Run->type cmd->Enter)
  4. Make the following path as the present working directory (use the CD command):
  5. C:\Borland\BCC55\Bin
  6. To compile the file (example.c) use the following command:
  7. bcc32 example.c
  8. Now if there exists no error in the source code, you’ll get a compiled executable module (example.exe) in the same location (C:\Borland\BCC55\Bin).
  9. Now you have successfully compiled the source code into an executable file(.exe file).
NOTE: The above tutorial assumes that you’ve installed the compiler onto the C: drive (by default).

Comments

Popular posts from this blog

#2 Why Security Is so important

                     Why  Security   ?   It is  Really  a question Every Body Knows How Important Security Is Here is Some Top Reasons Why Security is Most Important     ·         Evolution Of Technologies has focused primarily on ease of use ·         Computer  infrastruture  Management is  becomming  more complex for the common Man ·         Skill Level Required For Exploiting Security  Weakness Is Constantly ·         Direct Impact Of Security Breach on corporate asset base goodwill ·          Increased Networked Environment And Network Based Application

How To Hack Wifi Passwords With Windows 100% Works

How to Crack a Wpa2-Psk Password with Windows :- It,s very common question on the internet to How to hack a Facebook account password and how to hack a WiFi password. Even if you search on YouTube you will find a lots of tutorial to How to hack a WiFi password using backtrack. However, backtrack OS is not most handy OS for normal users. Today i am going to show you how to a crack a Wp2-psk password with windows machine. Software Requirement for this lab :- 1. CommView for Wifi ( Download ) 2.  Elcomsoft Wireless Security Auditor (Download ) Presently i am connected with my own wifi network Virusfound and i want to hack the password of Ultimate that is secured with Wpa2-psk encryption. First you need to be capture the Wpa2, four-way handsake with CommView. Open commView and click on the Start option  then click on the capture option to start the capture now it will show you all available AP , Now click on the Tools > Select the Node Reassoi...

How To Install BT 5 R3 On Virtual Machine Step By Step !

In this tutorial i will show you how to install  Backtrack 5 R3  which is recently  released by offensive security team . if you’ve previously installed backtrack then you might be familiar with  backtrack installations   . its easy and simple just follow given simple steps. Stage 1  Requirements 1 : Download backtrack ISO from  here 2 :  Download  VMware Workstation  or   VMplayer 3 : Install any of above Stage 2 Installation 1 : Create A new virtual machine 2 : choose installer ISO ( choose backtrack 5 ISO )  3 : choose   Linux  as your guest operating system type and  Ubuntu   as version 4 : give a name and location of your backtrack VM 5 : Specify virtual hard drive space ( 20 GB is good enough ) then click finish from ready to create vm window hit enter to go boot screen then choose   d...