[英]How do I run a terminal command at the same time as executing a C program from terminal
[英]How do I run my .c program from terminal in one line?
我在Windows 10上使用Min-GW GCC 编译器。 每次编译时,我都需要制作一个.exe ,然后运行它。 有没有办法一步完成整个事情?
您可以像在 linux 或 macos 上一样在 windows 中组合命令!
gcc compilefile && c:/executefile.exe
(你需要用 min-gw 和你的 exe 路径替换那些东西)
链接:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.