cles = new Circle * [lines];. open (datafile_name); (int i = 0; i
} (i = 0; i
{[i] -> Show ();
}. get (); (); count = 0; (i = 0; i
{[i] -> SetFlag (); [j] -> SetFlag (); + +;
} double average = 0; (i = 0; i GetFlag ()) = average + circles [i] -> Area () ; = average/count; (i = 0; i
}. get (); (); 0;
}
Додаток Б
Файли вхідніх даніх
Circles.txt
circle1: x = 100, y = 100, r = 40: x = 150, y = 150, r = 70: x = 200, y = 200, r = 80: x = 320, y = 350, r = 60: x = 350, y = 310, r = 75: x = 320, y = 350, r = 80: x = 370, y = 380, r = 75
About.txt (C) 2002 by Olexandr Lukianenkogroup 3KC-01
"This program shows circleshad been written in file, connects only five, distances from whichthe center of the screen are minimum". txt