Well, what is the question?
oh that is strange the rest of the question not there. sorry question is how to compare elements of 2 string arrays. one array is holding all the correct answers to a test. second array is holding all the answers from the students. The student receives points if the elements are the same from the two arrays
well if your question is how to compare elements of two different arrays then all you need to do is: for(int i=0;i
Because this is string data, the answers need to have their case set too. Either compare them as all uppercase or all lowercase or you'd have to get into Regular Expressions. This URL should help with the comparisons: http://www.cplusplus.com/reference/cstring/