
-----------------------------------
Kuntzy
Tue Nov 11, 2003 9:46 pm

BloodShed Dev-C++ Graphics....
-----------------------------------
What #include do you use for this compiler, or how do your run simple line or pixel grapjics of this type of C++.  I would prefer the way (if there is one) in DOS format, as I do not fully understand the Windows formatt, but any help would be appreciated

-----------------------------------
Catalyst
Wed Nov 12, 2003 12:11 am


-----------------------------------
there r two ways u could do this
1) Find some third party (somewhere on the net) graphics library for DOS or windows and use that
2) Use the OpenGL template in DevC++ and ignore the windows code, and play around with the opengl stuff

I would recommend the second one since opengl can do amazing things, but do the first one if u dont want to deal with the windows code

EDIT: Avoid the windows code altogether and use openGL with something like GLUT or SDL

-----------------------------------
Kuntzy
Wed Nov 12, 2003 11:12 pm

I am new to C++.....
-----------------------------------
How do i acess opengl, and use it?

-----------------------------------
Kuntzy
Wed Nov 12, 2003 11:15 pm

Scratch That, I can opne it...
-----------------------------------
But what does it do?
Does it follow the same Code as C++ (cout, cin etc.)

-----------------------------------
Catalyst
Thu Nov 13, 2003 7:51 am


-----------------------------------
if u use the opengl template that comes with devc++ it will set up a working program for u to play with

opengl is gfx library, similar to direct x it can be used for text, 2d graphics, 3d graphics,etc
It takes some time to know all of it tho

-----------------------------------
Homer_simpson
Thu Nov 13, 2003 11:11 pm


-----------------------------------
oh it takes "Some" time alright... specially if yer new to programming with graphics or 3d world...

-----------------------------------
rizzix
Fri Nov 14, 2003 1:39 am


-----------------------------------
opengl is too big a leap.. there are other cool apis available.. that are deisgned with opengl intergration..

2 good ones i know are SDL and Allegro


Dev cpp update manager will let u install them both

try it out and look at the examples
