|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 MIke_python小小 于 2020-4-27 13:39 编辑
PS G:\Programming\Python> cd "g:\Programming\C\" ; if ($?) { gcc Hello World.c -o Hello World } ; if ($?) { .\Hello World }
gcc.exe: error: Hello: No such file or directory
gcc.exe: error: World.c: No such file or directory
gcc.exe: error: World: No such file or directory
gcc.exe: fatal error: no in
代码:- #include <stdio.h>
- int main(void)
- {
- printf("hello");
- return 0;
- }
复制代码
求大佬解答
- gcc -v "hello world.c" -o "指定的 exe 名字"
复制代码
|
|