日期:2014-05-16 浏览次数:21314 次
#include <iostream>
#include <string>
int main() {
std::string temp("fdsafdas");
std::cout << temp << std::endl;
}
------解决方案--------------------
#include <iostream>
#include <string>
using namespace std;
int main()
{
string temp = "fdsafdas";
cout < < temp < < endl;
}