Code::Blocks Forums

User forums => Help => Topic started by: xboyz on August 08, 2017, 06:37:59 pm

Title: Arcs.exe stopped working
Post by: xboyz on August 08, 2017, 06:37:59 pm
Im using CB 16.01 and win 7 OS. I type the following program on CB and build  successfully. But when run the output window come and stops working.
#include<iostream>
#include<conio.h>
#include<graphics.h>
using namespace std;
int main()
{
    int gd=DETECT,gm;
    initgraph(&gd,&gm,"C:\\TC\\BGI");
    arc(200,200,0,130,50);
    getch();
    closegraph();
    return 0;
}

What should I do?
Title: Re: Arcs.exe stopped working
Post by: Miguel Gimenez on August 08, 2017, 07:11:34 pm
This is unrelated to CB, and is off topic here.

Don't waste your time, TurboC BGIs will never run on Windows 7.