neeeed help pleaseeeee

void addgrades(string name[], int studentID[], int number_of_courses[])
{
int c=1;
const int ISIZE=5000;
float course_grade[ISIZE];
double sum=0,number_of_hours=0;
cout<<"Enter your name: ";
getline (cin,name[c]);

cout<<"Enter your Student Id:";
cin>>studentID[c];
cout<<"Enter the number of courses:";
cin>>number_of_courses[c];
}

ok if i need to let the user enter his name and he enter it with space and i used getline and its not working pleasse help me
It is not working is not an error message
Be more explicit
Topic archived. No new replies allowed.