-
Graphics
Hey, i'm relatively new to c++ but im familiar with alot of the basic stuff like functions variables if else do while for strings including etc and i was wondering how to do some basic graphics like just drawing a line or something maybe even in a full screen mode or something =] i use bloodshed dev c++ and id like to know what i need to do #include with and maybe where i could learn how to use the things i include; ive tried graphics.h but that doesnt work well
-
For your compiler you'll be wanting to use DirectX, MFC, OpenGL or you could even use windows. For that you want to include windows.h and read about some of the functions for drawing a bitmap. I would suggest learning a little OpenGL and if that is too hard then get a dos compiler and get your feet wet with mode 13h (www.brackeen.com is good for that).
-
goto my page
here
and look on the links section for Pauls OpenGL Page
That will get you started on opengl graphics.
-
Don't start with opengl I'd start with windows gdi and the move on to direct draw you can learn that stuff from plenty of free tutorials or from a book
i would recomend windows game programming for dummies its only 21 bucks and includes almost every thing you will need to know for a 2d windows game. (im not the first poster)
-
Why not start with OpenGL?
-
well although it is easyer than direct3d 3d games still do reqire a lot of work and you shoud see basic graphics programing and see how windows works before jumping right into 3d games.
even a small tutorial like sunlights would be enough. the site is http://sunlightd.tripod.com/