C++の標準クラスだという string クラスを使うにはどうすればいいですか。
#include <string>
として
string str;
とやっても、stringは定義されていない識別子です、と言われます。