g++;。exe:致命错误:没有输入文件记事本++;错误 我试图用C++编译器设置记事本++。到目前为止,我遇到了以下问题: g++.exe: error: ôone.cppö: No such file or directory g++.exe: fatal error: no input files compilation terminated.

g++;。exe:致命错误:没有输入文件记事本++;错误 我试图用C++编译器设置记事本++。到目前为止,我遇到了以下问题: g++.exe: error: ôone.cppö: No such file or directory g++.exe: fatal error: no input files compilation terminated.,c++,C++,我以前遇到过这个问题: CreateProcess() failed with error code 2: The system cannot find the file specified 所以,我更正了文件位置,这个开始出现 g++.exe: error: ôone.cppö: No such file or directory g++.exe: fatal error: no input files compilation terminated. 顺便说一下,这是全文 NPP_SAV

我以前遇到过这个问题:

CreateProcess() failed with error code 2: The system cannot find the file specified
所以,我更正了文件位置,这个开始出现

 g++.exe: error: ôone.cppö: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
顺便说一下,这是全文

NPP_SAVE: C:\Users\Ken\Desktop\C++\one.cpp
CD: C:\Users\Ken\Desktop\C++
Current directory: C:\Users\Ken\Desktop\C++
C:\Users\Ken\Desktop\pocketcpp\pocketcpp\MinGW\bin\g++.exe “one.cpp”
Process started >>>
g++.exe: error: ôone.cppö: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
<<< Process finished. (Exit code 1)
cmd /c “C:\Users\Ken\Desktop\C++\a.exe”
Process started >>>
The filename, directory name, or volume label syntax is incorrect.
<<< Process finished. (Exit code 1)
================ READY ================
NPP\u保存:C:\Users\Ken\Desktop\C++\one.cpp
CD:C:\Users\Ken\Desktop\C++
当前目录:C:\Users\Ken\Desktop\C++
C:\Users\Ken\Desktop\pocketcpp\pocketcpp\MinGW\bin\g++.exe“one.cpp”
进程已启动>>>
g++.exe:错误:ôone.cppö:没有这样的文件或目录
g++.exe:致命错误:没有输入文件
编译终止。
>
文件名、目录名或卷标语法不正确。

我相信g++不需要在输入文件周围加引号。看看你是否可以调整记事本++中的宏来反映这一点。你正在使用奇怪的unicode“智能引号”。用普通引号替换它们。没有程序需要在命令行上传递的参数周围加引号。你需要引号来指导shell如何处理命令行的不同部分,但是在那之后它们不应该被传递给启动的程序。我想这是我的初学者的错误。非常感谢你们的建议。唯一剩下的是:文件名、目录名或卷标语法不正确。包含空格的文件名需要引号。