I would strongly suggest you develop higher knowledge on C++ before venturing into game programming. Nearly 100% of programmers who want to built games, try to start as soon as possible, which is very bad, you will just ask people to help you out without any progress at all. You will see some weird stuff which the gaming library has nothing to do with, or even worse, not knowing how to built the stuff yourself to start the easiest tutorial.
If you want to build games, I would strongly suggest to go with UDK.
If you want to program games, I would suggest learning C++ at least the simplest concepts, like pointers, structs, header files (the last two were included in my book so you should know I guess)
From what I could gather is that you do not have enough knowledge of programming, which is needed. Even though you knew the basic concepts, your game is going to suck.
Note: Allegro 5 and OpenGL 4.0 had the same installation (nearly the same) and from what I could gather, the idea is that all libraries should have the same installation. You will better be off learning C++, since I made the same thing as you 2 years ago and came back to C++ to learn a lot of stuff.
SDL is known to be easier than Allegro 5, meanwhile others say the contrary. It all depends what you really mean. The file actually had a folder, because you have to open it with WinRar.
Read a C++ book with a lot of pages than you will learn stuff alone.
The better your C++ skills, the better the games you will make will be.
Otherwise, read my Allegro 5 book ;)

Dec 13, 2018  graphics programming in dev c with examples graphics in dev c rar graphics in dev c free download bgi graphics c graphics.h download for code blocks dev c include library how to add. Oct 24, 2018  For Dev C you have to do the same upto Linker step. To compile a program using SDLbgi, make sure that it includes the 'graphics.h' header file. Then: gcc -o program program.c -lSDLbgi -lSDL2. If you want to integrate this with your favourite editors the simply add linker.

graphics.h library is used to include and facilitate graphical operations in program. graphics.h functions can be used to draw different shapes, display text in different fonts, change colors and many more. Using functions of graphics.h you can make graphics programs, animations, projects and games. You can draw circles, lines, rectangles, bars and many other geometrical figures. You can change their colors using the available functions and fill them.

Examples:


Explanation :The header file graphics.h contains line() function which is described below :

Declaration : void line(int x1, int y1, int x2, int y2);

line function is used to draw a line from a point(x1,y1) to point(x2,y2) i.e. (x1,y1) and (x2,y2) are end points of the line.The code given below draws a line.

Mac os bartender alternative. It’s not overstuffed with features you’ll never use or bogged down by its creator’s desire to break into the enterprise.It has simple features, like note pinning and markdown support, and an elegant three-column layout that lets you move between your organized hashtags, note list, and the actual editor itself. It costs $20 a year for the premium version to get access to cross-device syncing, but it’s worth it in my opinion.

How to add graphics.h header file in dev c++
#include <graphics.h>
// driver code
{
// gm is Graphics mode which is a computer display
// DETECT is a macro defined in 'graphics.h' header file
// by loading a graphics driver from disk
line(150, 150, 450, 150);
// line for x1, y1, x2, y2
line(150, 250, 450, 250);
getch();
// closegraph function closes the graphics
// by graphics system .
}

Creating Header File C

Example of header file

Output:

How To Use Graphics Header File In Dev C Free