102 error !

Hello ....

i have a code .. when I compile it ... it give me 102 error :O :O :O

that's it :


#include<iostream.h>
void main(){
Struct student{
char *name; long ID;
float ave;
int *grades;
} ;
student *A[2];
A[0]=new student;
A[1]=new student;
}



and all error are : "error C2143: syntax error : missing ';' before '}'"


Help please :)
Change Struct to struct.
ahaaaaaaaaaaa.... Thanks alot :) :)
Topic archived. No new replies allowed.