wich library for 2D games?

I'm making a game in c++ implemented using linked lists, I will use for the

graphics " graphics.h ", but I want to creat a window as an intro for the game,

is it possible to do this with graphics.h ( i need an exemple please) or should I

use along it windows.h ? Appreciate your help :)
Last edited on
" graphics.h "


What year is it?

should I use along it windows.h
Win32Api already has graphic support.
Last edited on
it's my first time with graphics in c++, would appreciate if you'd help me, what do you have against it?
graphics.h is really outdated and modern C++ compiler don't support it.
Windows API is a better option. What kind of game do you want to do ?
what do you have against it?


Nothing, just that BGI was made for DOS and hasn't been updated since.
Last edited on
@Thomas1965
graphics.h is really outdated and modern C++ compiler don't support it.
Windows API is a better option. What kind of game do you want to do ?


It's a simple game, i want to represent some kids turning around in a circule (that's why i'm

gonna implement it with doubly circular linked lists), my idea is making a circle with the name of

the kid in it, and try to make them apear linked together, I never used graphics in my codes so if you can

help me a bit i'd be very thankful!
If you ultimately do choose to not use graphics.h, I'm going to put in a token recommendation for SFML as an alternative. It's a basic graphics library in C++, not C, and it's quite well-documented with a shallow learning curve.

http://www.sfml-dev.org/learn.php

-Albatross
@TheRabbitologist
If you ultimately do choose to not use graphics.h, I'm going to put in a token recommendation for SFML as an alternative. It's a basic graphics library in C++, not C, and it's quite well-documented with a shallow learning curve.

http://www.sfml-dev.org/learn.php

-Albatross

thanks a lot i will check it ! Have a nice day!
closed account (48T7M4Gy)
Please don't double post on essentially the same topic. It duplicates effort and wastes time. Closee off one or both of the duplicate threads.

http://www.cplusplus.com/forum/general/205361/
Topic archived. No new replies allowed.