![](/img/trans.png)
[英]How to set release/debug mode to compile a cpp file at a command prompt using Microsoft C++ toolset
[英]Trying to compile a cpp file but command prompt saying file not found
我已經從 MinGW 下載了 c++ 編譯器也設置了環境變量
'<' 和 '>' 是用於重定向的研究字符,不用於文件名。
在這種情況下,它很可能會嘗試從 hello_world 讀取輸入,因為它會看到< hello_world
但找不到文件
> p.cpp
將嘗試將任何 output 寫入 p.cpp,因此可能已經替換了該文件中的內容。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.