小白一枚,艱難自學(xué)ing按照書本和講解視頻敲的代碼,不是很理解反饋的錯(cuò)誤是什么意思,求大神指教~#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貢獻(xiàn)2039條經(jīng)驗(yàn) 獲得超8個(gè)贊
你啟用了VC的預(yù)編譯頭功能,一般默認(rèn)是開啟到。你需要把標(biāo)準(zhǔn)庫頭文件加到stdafx.h中,然后再main的cpp文件里包含stdafx.h
- 2 回答
- 0 關(guān)注
- 975 瀏覽
添加回答
舉報(bào)
0/150
提交
取消