I am trying to learn C++. I have Turbo C++ 3.0 installed on a win98se machine. Whenever I try to create an arrat of floats and then scanf the values, everything works fine. But when I use an a float in a structure and then create an array of structures and try to scanf the values, I get the error msg "Abnormal program termination. floating point formats not linked". Here is the piece of code:
...
...
Code:
int n, i = 0;
	struct {
		char text[20];
		float radius;
		float area;
	} circle[10];


	printf("\nTo STOP enter END for flag\n");
	printf("Flag: ");
	scanf("%s", circle[i].text);

	while(circle[i].text[0]!='E'||circle[i].text[1]!='N'||circle[i].text[2]!='D')
	{
		printf("Radius: ");
		scanf("%f", &circle[i].radius);  //THIS WHERE THE ERROR OCCURS
to overcome i have to declare a separate float r and use this r in scanf and then transfer the value captured to the structure element.
can anyone please throw some light on this?
Thanks