小白一枚,艱難自學ing按照書本和講解視頻敲的代碼,不是很理解反饋的錯誤是什么意思,求大神指教~#include<iostream>using namespace std;int main(){ int radius; cout << "Please enter the radius!\n"; cin >> radius; cout << "The radius is:" << radius << '\n'; cout << "PI is:" << 3.14 << '\n'; cout << "Please enter a different radius!\n"; cin >> radius; cout << "Now the radius is changed to:" << radius << '\n'; return 0;}
2 回答

largeQ
TA貢獻2039條經(jīng)驗 獲得超8個贊
你啟用了VC的預編譯頭功能,一般默認是開啟到。你需要把標準庫頭文件加到stdafx.h中,然后再main的cpp文件里包含stdafx.h
- 2 回答
- 0 關(guān)注
- 963 瀏覽
添加回答
舉報
0/150
提交
取消