#include <iostream.h>
using namespace std;
int main(int argc, char* argv[])
{
string st("dddddd");
cout << st << endl;
這個錯誤解決:應該改成“ #include <iostream>”
#include <iostream.h>
using namespace std;
int main(int argc, char* argv[])
{
string st("dddddd");
cout << st << endl;
這個錯誤解決:應該改成“ #include <iostream>”