Using graphics.h under linux
I got used to the graphics.h as working under Turbo C++ was the only option a student of India has. However under linux, as a beginner, i was unable to find an equivalent header file. That is only until, you install a new package that allows you to use graphics.h in the same way as that in Turbo C++.
I would like to keep this very simple. Lets start .
There bonair baptist richmond older singles are two phases in this process :
- Installing the dependancies.
- Installing the libgraph package.
Installing dependancies :
- Make sure you have G++ (GNU C++ compiler). If you do jump to Step 3
- Open Software Manager and Install G++.
- Open Synaptic Package Manager.
- Search for guile-1.8-dev
- Mark it for installation. And also its additional Requirements.
- Then do the same http://latinojewishrelations.org/erotic-web-cam-for-females-6ue/ for libsdl-image1.2-dev.
Installing libgraph :
- Download libgraph from here
- Extract the contents to the home folder.
- Now open terminal.
- Type the following commands :
cd libgraph-1.0.2
./configure
sudo make
sudo http://walkonthewater.net/montreal-traffic-webcams-7r9 make install
- Ignore all the warnings displayed. Again, in the terminal type the following line :
sudo cp don johnson singles /usr/local/lib/libgraph.* http://griffincoffeeandtea.com/p5-interracial-singles-uk /usr/lib
- Now its over. Your struggle so far will bear fruit now. All you need to do is create the C++ file containing graphics (include graphics.h in the file) and then compile it as follows :
g++ filename.cpp -o output_filename -lgraph
- Run the output file using ./output_filename
- For example, if your C++ file is test.cpp, then compile helena web cam it using the command ‘g++ test.cpp -o myoutput -lgraph’ and you can run the output by using the command ‘./myoutput‘
Learn more about how to Trace mobile number in India.