QB graphic library for C++

Discuss whatever you want here--both QB and non-QB related. Anything from the DEF INT command to the meaning of life!

Moderators: Pete, Mods

Post Reply
User avatar
Mentat
Veteran
Posts: 409
Joined: Tue Aug 07, 2007 3:39 pm
Location: NC, US

QB graphic library for C++

Post 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.
For any grievances posted above, I blame whoever is in charge . . .
Anonymous

Post 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
User avatar
Mentat
Veteran
Posts: 409
Joined: Tue Aug 07, 2007 3:39 pm
Location: NC, US

Post 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?
For any grievances posted above, I blame whoever is in charge . . .
User avatar
Stoves
Veteran
Posts: 101
Joined: Fri Feb 10, 2006 12:24 am
Location: Nashville, TN

Post 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
User avatar
Mentat
Veteran
Posts: 409
Joined: Tue Aug 07, 2007 3:39 pm
Location: NC, US

Post 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.
For any grievances posted above, I blame whoever is in charge . . .
Nodtveidt
Veteran
Posts: 826
Joined: Sun Jul 25, 2004 4:24 am
Location: Quebradillas, PR
Contact:

Post by Nodtveidt »

Technically speaking, all languages are non-graphical. Libraries are what give a language its "graphical ability". Even QB.
Anonymous

Post 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.
Post Reply