main.cpp:8:11: error: cannot assign to return value because function 'operator*' returns a const value (*it) = 'A'; ~~~~~ ^