>> *it++
Don't you mean (*it)++?
Currently I haven't practiced pointers that often, and I want to know all aspects of C++. Thanks for your reply! Unfortunately I still receive the same error.