用cygwin汇集.cpp?
我尝试以两种不同的方式将.cpp编译为.exe,第一个(下一个教程)是转到文件位置(c:\ users \ me \ me \ desktop \ cpp \ cpp文件)并打开CMD并打开提示然后键入:g ++ main.cpp main.exe(我也尝试了另一种方法,首先是.exe),并且出现了此错误:'g ++'不被识别为内部或外部命令, 可操作的程序或批处理文件。
在cygwin提示中,我有一个错误:cc1plus:致命错误:klog_main.cpp:没有这样的文件或目录 汇编终止。
我该如何解决此问题/我在做什么错?
I tried to compile a .cpp into an .exe with two different ways, the first (following a tutorial) was by going to the files location (C:\Users\me\Desktop\CPP Files) and typing cmd and opening a prompt then typing: g++ main.cpp main.exe (i also tried the other way around, with the .exe first) and got this error: 'g++' is not recognized as an internal or external command,
operable program or batch file.
on the cygwin prompt i got this error: cc1plus: fatal error: klog_main.cpp: No such file or directory
compilation terminated.
How can i fix this/what am i doing wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论