please i tried using graphics.h for learning purpose with code blocks, as directed by a video, and i kept getting this error:
"Test.exe" has stopped working
when i tried this code
#include <graphics.h>
int main()
{
int gd =DETECT,gm;
initgraph(&gd, &gm,"C:\\tc\\bg1");
line(50,100,100,100);
getch();
}
i need help on how to proceed. Thanks