lvalue required as left operand of assignment
s is a string.
on this line i get the error lvalue required as left operand of assignment. how can i fix this?
Well cast expressions are r-values, so perhaps
s[0]=(int)s[0]-32;
Topic archived. No new replies allowed.