sorry im not recieving emails when people are responding to my subscribed threads right now, dont know why.
string name[NAME_LEN]; creates an array of 10 strings. you dont want this i dont think. you just want ONE string for ONE name, correct? if so just do 'string name;'. for 'char course[C_LEN];' you can change that to just 'string course;', its the same deal. you want a string not an array of characters. strings are much easier to work with, thats why they were created.
once youve fixed that, if you still have errors or questions, post ALL of the updated code please! good luck