我尝试在 Windows 7 上通过命令提示符运行 C 程序,但出现错误
tcc in not recognized as an internal or external command, operable program or batch file
您能指导我如何摆脱这个错误吗?
最佳答案
为了解决这个问题,请按照以下步骤在 Windows7 上从命令提示符执行 C 程序
首先,从 here 安装 tcc
然后在PATH
中添加路径;c:/tcc
,如下所示
在最后一步中,输入 cd [directoryname]
进入 C 文件所在的文件夹,然后输入 tcc [filename.c]
,它将创建一个应用程序或独立文件。
关于c - tcc 不被识别为内部或外部命令、可操作程序或批处理文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30196750/