i found msoftcon.h on the book and added. when i run below program
on dev c compiler
linker error undefined reference to set_color(color,color)
linker error undefined reference to set_fill_style
linker error undefined reference to draw_circle
linker error undefined reference to init graphics
#include <cstdlib>
#include <iostream>
#include <msoftcon.h>
using namespace std;
struct daire
{
int x,y;
int r;
color fillcolor;
fstyle fillstyle;
};
void bbbb_draw(daire c)
{
set_color(c.fillcolor);
set_fill_style(c.fillstyle);
draw_circle(c.x,c.y,c.r);
}
int main(int argc, char *argv[])
{
init_graphics();
daire c1={1,5,25,cBLUE,X_FILL};
bbbb_draw(c1);
system("PAUSE");
return EXIT_SUCCESS;
}