|
发表于 2024-9-11 14:16:32
|
显示全部楼层
Microsoft Windows [版本 10.0.19045.4598]
(c) Microsoft Corporation。保留所有权利。
C:\Users\Lenovo>gcc --version
gcc (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C:\Users\Lenovo>cd "C:\Users\Lenovo\Desktop\test"
C:\Users\Lenovo\Desktop\test>
C:\Users\Lenovo\Desktop\test>
C:\Users\Lenovo\Desktop\test>gcc test.c -o test
C:\Users\Lenovo\Desktop\test> .\test
Hello, world!
C:\Users\Lenovo\Desktop\test>
这几步在命令提示符中都是正确的,代码也是没错的,因为是你发给我的,但就是运行不起来,显示乱码 |
|