Thursday, July 30, 2009

R6002 - Floaing point not loaded??? (C programming)?

This is a C program I am making... Why am I getting this error??? Here is my code:





void enter_class_information(char studentName[])


{


int count = 1;


char courseName[MAX_NAME + 1];


char courseDepartment[MAX_DEPARTMENT];


int courseNumber;


char sectionCode[MAX_SECTION_CODE + 1];


float creditAmount;


char labStatus;





do


{


system("cls");





printf("Student: %s\n\n", studentName);


printf("Course %d:\n\n", count);


fflush(stdin);





printf("\tCourse Name: ");


gets(courseName);


fflush(stdin);





printf("\n\tDepartment: ");


gets(courseDepartment);


fflush(stdin);





printf("\n\tCourse #: ");


scanf("%d", %26amp;courseNumber);


fflush(stdin);





printf("\n\tSection: ");


gets(sectionCode);


fflush(stdin);





printf("\n\tCredits: ");


scanf("%f", %26amp;creditAmount);


fflush(stdin);





printf("\n\tLab Class(y or n): ");


scanf("%c", %26amp;labStatus);


fflush(stdin);





count += 1;


} while (count %26lt; 4);





}

R6002 - Floaing point not loaded??? (C programming)?
"Floating point not loaded" is Microsoft C's run-time message when the code requires a numeric coprocessor but your computer doesn't have one installed. Relink it using the xLIBCE or xLIBCA


library (where x is the memory model).


No comments:

Post a Comment