Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

simple graphics in C - a newbie

Status
Not open for further replies.

elspork

Programmer
Dec 17, 2003
4
US
I'm an amateur programmer, trying to make a transition from BASIC (Qbasic) to C. I'm interested in making simple graphical applications, ie. not 3d, like old nintendo. I had a handle on graphics in basic, but I need better memory control and speed.

My problem is that I can't sort out how to bring in the right combonation of libraries and includes to use simple line, circle, point kinds of functions. All the instruction I find uses borland's graphics.h, which seems to have vanished from existence.

I'm using borland's free bcc55 and Bloodshed's Dev-c++.

anyone willing to throw me a bone before I run crying home to Qbasic?


thanks
michael H
 
Here are some alternatives...

1. VGA programming using Mode13.


This is great fun!


2. Using the Borland graphics.h functions.

This functions are available from Borland Turbo C upto Borland C++ 5.01.


3. Using a 32bit emulation of the Borland functions called WinBGI.



4. Using Microsoft Direct X.


5. Using Open GL.

 
Well if you want something in the BGI mould, then consider downloading this library

Dev-C++ (if you have the latest 4.9.x) has what it calls a "devpack", which is a pre-build library system for dev-c++.
One of these is the libsdl graphics library, which is a bit more complex than BGI, but which ultimately will produce better results.

--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top