cmaths @ 2024-11-01 19:39:00
fc my.out brute.out
这行指令会导致终端无响应
确认 my.out、brute.out 都存在,且终端与其在同一个文件夹
系统是 Win11
by FanMingxuan @ 2024-11-01 19:39:51
会不会是文件太大了
by cmaths @ 2024-11-01 19:40:13
@FanMingxuan 两个文件都只有一行
by yuyc @ 2024-11-01 19:40:35
https://learn.microsoft.com/zh-cn/windows-server/administration/windows-commands/fc
by yuyc @ 2024-11-01 19:42:02
by cmaths @ 2024-11-01 19:45:48
@yuyc 改成了 fc.exe my.out brute.out
和 fc.exe /a my.out brute.out
,还是会卡死
by cmaths @ 2024-11-01 19:50:46
D:/Dev-Cpp/MinGW64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.2/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file fc.exe: Permission denied collect2.exe: error: ld returned 1 exit status
编译时报的错,编译器是 VSCode
by cmaths @ 2024-11-01 20:03:24
我知道了,我对拍程序叫fc.exe……
by yuyc @ 2024-11-01 20:05:02
你对拍的程序也叫 fc 吗? 是的话改名字试试
by yuyc @ 2024-11-01 20:05:30
@cmaths 6
by 99999873654as7829 @ 2024-11-01 20:37:16
@cmaths 可以尝试把系统的fc.exe加到环境变量中