
-----------------------------------
1337_brad
Sat Feb 05, 2005 6:48 pm

open GL =/
-----------------------------------
hey I am looking at some Open GL tutorials and they are written for VisualC++ and I just wondered if anybody knew how to do this :

After you have created a new Win32 Application (NOT a console application) in Visual C++, you will need to link the OpenGL libraries. In Visual C++ go to Project, Settings, and then click on the LINK tab. Under "Object/Library Modules" at the beginning of the line (before kernel32.lib) add OpenGL32.lib GLu32.lib and GLaux.lib. Once you've done this click on OK. You're now ready to write an OpenGL Windows program. 


In Dev C++ =/

-----------------------------------
1337_brad
Sat Feb 05, 2005 6:57 pm

Infact...
-----------------------------------
Does anybody know of any simple OpenGL tutorials that are for C++ and are easy to use with DevC++??

-----------------------------------
wtd
Sat Feb 05, 2005 7:24 pm


-----------------------------------
If you're just starting to work with C++, then OpenGL is way over your head, and it's messy.  It's a perfect example of a mish-mash of C and C++, and that will confuse you, since you should be learning the correct C++ way to do things.  They're different languages.

-----------------------------------
1337_brad
Sat Feb 05, 2005 7:31 pm

What would I used instead of OpenGL
-----------------------------------
What would you suggets I use rather than OpenGl?  I heard DirectX isn't that great... I am just learning C++ but I just want to be able to make a windows program rather than a dos application... I don't want to use advanced graphics or anything just basic windows and text and such...

-----------------------------------
md
Sun Feb 06, 2005 12:07 am


-----------------------------------
DirectX isn't bad so much as non-portable, but for windows programming, you gotta learn a lot before you can really do anything usefull. You could look into SDL though, it's a nice cross-platform graphics/media wrapper

-----------------------------------
wtd
Sun Feb 06, 2005 4:05 pm

Re: What would I used instead of OpenGL
-----------------------------------
What would you suggets I use rather than OpenGl?  I heard DirectX isn't that great... I am just learning C++ but I just want to be able to make a windows program rather than a dos application... I don't want to use advanced graphics or anything just basic windows and text and such...

Doing native Windows programming with C++ without using some kinda of abstraction is insanity.  Microsoft themselves are ditching this approach with the advent of .NET and other more advanced tools.

There are a huge number of C++ skills you need to understand first and foremost which can be easily explored in a command-line interface.


variables
functions
pointers
classes
objects
references
std::string
std::vector
iterators
input/output
file input/output
conditionals
loops
etc.

If you really want to do programming with GUIs and Windows and C++, I'd suggest [url=http://www.wxwidgets.org/]wxWidgets
