Hi all,
I have a hard time to figure out to code the program assignment below for my C course. I wish I could get a grade C for this class.
[CODE]
struct student
{
int ID;
char name[20];
int exam1;
int exam2;
int finalExam;
};
struct stuTable
{
int totalpoint;
int count;
struct student *stu;
} ;
int Search(struct stutable *T, int id, struct student **stud)
{
/*Purpose: locate and return a pointer to a student if the
student is found in the stuTable.
return 1 if student is found otherwise return 0 */
}
[\CODE]
What struct student **stud mean? and can anyone help to show me how to code for the Search() function.
Your help would appreciate.
C_dummy