identifier string is undefined c++. There are any references about identifier string is undefined c++ in here. you can look below.