大神幫幫我這個菜鳥:提示錯誤cout和endl未聲明的標(biāo)識符
// myfirst.cpp : 定義控制臺應(yīng)用程序的入口點。
#include <iostream>
#include "stdafx.h"
using namespace std;
int main()
{
?? ?cout << "Come up and C++ me some time.";
?? ?cout << endl;
?? ?cout<<"You won't regedit it!"<<endl;
??? return 0;
}
2017-06-01
沒用命名空間吧