Dark Bit Factory & Gravity

PROGRAMMING => C / C++ /C# => Topic started by: James_wright_1990 on February 16, 2010

Title: [C++] freeglut, sdl or windows.h?
Post by: James_wright_1990 on February 16, 2010
Hi,

I am about to start a new piece of coursework for my degree and i'm having some trouble on deciding how to open and manage my window. for my last prodject i used freeglut which was fine but i had to put up with its quirks which have put me off it recently. the new nehe tutorials are using sdl which looks ok but it will require me to have to learn more about how sdl works and my third option is to use windows.h and open and manage the window manualy this last option is used in a book i anm using but the problem is the aurther just gives large sections of source code with very little explanation and i dont like not knowing how my code works.

basically i was wondering if anybody had any sergestions as to which i should go with as i'm getting a little confused.

james
Title: Re: [C++] freeglut, sdl or windows.h?
Post by: hellfire on February 16, 2010
For C++ I would suggest SFML (http://www.sfml-dev.org/documentation/1.5/).
Qt (http://doc.trolltech.com/4.1/opengl-hellogl.html) is a good choice if you require gui-stuff, too.
But there's nothing wrong with SDL (http://www.libsdl.org), either.
Title: Re: [C++] freeglut, sdl or windows.h?
Post by: James_wright_1990 on February 17, 2010
KK thanks for the help i am looking into it at the moment

cheers james