跳至主要內容
  • 滑動圖
  • 滑動圖
  • 滑動圖
  • 滑動圖
:::

3-3 錯誤訊息處理

[Error] range-based 'for' loops are not allowed in C++98 mode

 

 

完成以下設定,即可按f11執行。

 

[Error] ISO C++ forbids comparison between pointer and integer [-fpermissive]

 

單個字元必須用單引號包含,不能用雙引號“”