#include"stdafx.h"
#include
#include<graphics.h>
using namespace std;
class Circle
{
public:
Circle(int x,int y,int r)
{
X=x;Y=y;R=r;
}
~Circle()
{
Hide();
}
void Show()
{
circle(X,Y,R);
}
void Hide()
{
setcolor(WHITE);Show();
}
private:
int X,Y,R;
};
void func()
{
int x,y,r;
cin>>x>>y>>r;
initgraph(800,600);
Circle cl(x,y,r);
Sleep(3000);
}
int _tmain(int argc,_TCHAR*argv[])
{
func();
Sleep(3000);
closegraph();
return 0;
}