Installation
Creating and running a simple (non-graphics) program
#include <iostream.h>
#include <stdlib.h>
int main()
{
system("PAUSE");
return 0;
}
system("PAUSE");
(for example: cout<<"hello"<<endl;
)
#include "winbgim.h"
int main()
{
initwindow(640,480); //open a 640x480 graphics window
setcolor(WHITE);
circle(320,240,100); //Draw a circle
getch(); //wait for user to press a key
closegraph(); //close graphics window
return 0;
}