Vitamin C was born Colleen Ann Fitzpatrick in Old Bridge Township, New Jersey, on July 20, 1972

Install C++ Compilers in backtrack 5 r1

apt-get install build-essential

compiling your first C Program

1. gedit first.cpp
root@bt:~# gedit first.cpp
this will open gedit

2. paste in

#include <iostream>
using namespace std;

int main ()
cout << “Hello World!”;
return 0;

3. save and exit the file

4. compile the code using the following command

cc -c first.cpp

root@bt:~# cc -c first.cpp

5. then create an executable using the following command
g++ first.cpp -o first

root@bt:~# g++ first.cpp -o first

6. you can now run your file

root@bt:~# ./first
Hello World!root@bt:~#


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s