gpt4 book ai didi

c - tcc 不被识别为内部或外部命令、可操作程序或批处理文件

转载 作者:行者123 更新时间:2023-11-30 17:14:44 24 4
gpt4 key购买 nike

我尝试在 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,如下所示

enter image description here

在最后一步中,输入 cd [directoryname] 进入 C 文件所在的文件夹,然后输入 tcc [filename.c],它将创建一个应用程序或独立文件。

关于c - tcc 不被识别为内部或外部命令、可操作程序或批处理文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30196750/

24 4 0
文章推荐: javascript - 展开/折叠对象列表
文章推荐: javascript - 使用 标签 onclick 在状态之间导航
文章推荐: python - 使用 numpy.i 和 swig 访问 int16 数组
文章推荐: c - C中struct的动态分配
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com