Page 1 of 1

QB graphic library for C++

Posted: Sat Aug 11, 2007 8:43 am
by Mentat
It sounds silly but I don't have OpenGL. I want to know if it's possible to write a graphics library in QB or FB and implement them into a C++ program.
If so, please tell me how.
A) I don't know how to make/use libraries in QB.
B) I don't know how to make/use libraries in C++.
C) I have the DevBond IDE.
D) Please be very descriptive.
E) All of the above.

Posted: Sat Aug 11, 2007 5:21 pm
by Anonymous
Hi,

Qbasic really isn't for that, what you need to do is install OpenGL into your compiler. I don't know what compiler you are using so I can't really help, but I would recommend using Bloodshed Dev-C++ 5.0 as it makes installing things like OpenGL a breeze with its package manager. Heres a link http://www.bloodshed.net/dev/devcpp.html

Posted: Sat Aug 11, 2007 5:54 pm
by Mentat
How do I get OpenGL, and do I have to pay for it?
Couldn't I, in theory, have the C++ create an ASM graphics code to have DOS debug? It's a stretch, but I can't see why not.
My point is that I don't want to purchase a piece of software. So how do I get around this?

Posted: Sat Aug 11, 2007 6:18 pm
by Stoves
Google is a wonderful thing...

Download the free OpenGL 1.1 package: http://www.freedownloadscenter.com/Util ... nload.html

Release notes and info from Microsoft: http://support.microsoft.com/kb/154877

Posted: Sat Aug 11, 2007 6:24 pm
by Mentat
:oops: Ohhh....I thought I had to pay for it. Thanks a lot. :D . That would be cool for a challenge though, to write graphic libs for non graphic languages.

Posted: Sat Aug 11, 2007 9:39 pm
by Nodtveidt
Technically speaking, all languages are non-graphical. Libraries are what give a language its "graphical ability". Even QB.

Posted: Sun Aug 12, 2007 6:47 am
by Anonymous
I'm pretty sure I read that OpenGL comes with every windows since 95 (don't hold me to that) what you are installing are the header files for the compiler.