I've use to create this in Turboc++ 3.0
and there are four linker error
how could i fix this?

#include<stdio.h>
#include<graphics.h>
#include<conio.h>

main()

	{
		int gd=DETECT,gm,col=0;
		initgraph(&gd,&gm,"c:\tc\bgi");
		while(!kbhit())
	{
		setcolor(15);
		circle(col,100,50);


		col++;
		if(col>=600)
		col=0;
		cleardevice();
	}
	}

I've use to create this in Turboc++ 3.0
and there are four linker error
how could i fix this?

What are the linker errors? Please post them; it helps us help you faster, especially if we don't have Turbo C++ ourselves.

If I were to guess, I'd say you're missing a reference to the graphics library. I don't know how TC++ organizes things, but it'll be in a menu something like Options->Linker->Libraries. Borland might have even put in a "Graphics Library" option to make life easier.

Although your confidence in abilities of us at daniweb is overwhelming, we have not yet mastered the art of telepathy or remote desktop viewing. So we are unable to see what the errors are.

Read this . It tells you which lib, bgi you need and so on.
Also note graphics.h is too old now. If you're starting off with learning, use something newer.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.