Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 924 Bytes

README.md

File metadata and controls

34 lines (24 loc) · 924 Bytes

Graphics.h In Visual Studio

Actually you can use graphics.h on the lastest version of Visual Studio

  1. Download graphics.h and graphics.lib files in https://github.com/ahuynh359/Graphics
  2. Drag these two files and drop to your sub project. For example if my project named Project1 I will add these two files to Project1\Project1

enter image description here

  1. Change to x86

Untitled

  1. Implement these code
#include "graphics.h"
#pragma comment(lib,"graphics.lib")
int main()
{
    initwindow(500, 500);
    getch();
    closegraph();
    return 0;
}
  1. Project