I've been taking this online Stanford class for a while now and the assignments are starting to not make sense. I'm looking for help fixing this mess of a code. The program is supposed to read a string, and tell the user if that string is a palindrome. I'm getting such errors as "shadows a parameter" that I don't understand how to fix. If you have time to help, please do. Thanks, Mike.
a) You are using str, which arent declared anywhere in your check function.
b) In GetString you... getting char which is destroed immideatly?
b) "parameter shadowing" is when you declaring variable which has the same name as another, so that variable becoes inaccessible: in GetString function you cannot access s[] argument because of s[100] local variable