How to configure graphics.h in Dev-C++?

In HomeWork 3 , you are asked to submit a game program implemented by C++, you may find the follwoing tutorial videos useful:

There are 4 steps to follow:

  1. Install Dev-C++.
  2. Download graphics.h and copy to the include/ sub-directory of the Dev-C++ root directory.
  3. Download winbgim.h and copy to the include/ sub-directory of the Dev-C++ root directory.
  4. Download libbgi.a and copy to the lib/ sub-directory so that you can use WinBGIm graphics library.
  5. Whenever you want to use #include <graphics.h> in a program, you must instruct the linker to link in certain libraries. (Hint: Watch one of the videos)