Hi..
I am trying to read from a string into various structure fields..what am I doing wrong..
pStuPtr is a pointer to the array of structures 'table'.
sscanf(string,"%s%s%d%f%f%f%f%f", pStuPtr->names, pStuPtr->lastNames, &pStuPtr->id, pStuPtr->scores[0],
pStuPtr->scores[1], pStuPtr->scores[2], pStuPtr->scores[3], pStuPtr->scores[4]);
thanks
A :)