以下のソースを書いたらこのようなエラーが出た。
std::string a = "Hello";
std::cout << a << std::endl;
対処は、
ファイル上部に #include <string> を記述すれば OK 。
こちらから。
https://oshiete.goo.ne.jp/qa/9502744.html
以上。
以下のソースを書いたらこのようなエラーが出た。
std::string a = "Hello";
std::cout << a << std::endl;
対処は、
ファイル上部に #include <string> を記述すれば OK 。
こちらから。
https://oshiete.goo.ne.jp/qa/9502744.html
以上。