如何使用命令提示符下运行一个C程序 [英] How to run a c program using command prompt
本文介绍了如何使用命令提示符下运行一个C程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何运行使用命令提示符在Win 7安装$ C $个cblocks,如果C文件的位置不是默认位置不同的C程序?
解决方案
- 编译和链接项目
- 打开命令窗口
- 更改目录中创建可执行文件,其中
- 运行可执行文件
How to run a c program using command prompt on win 7 with codeblocks installed and if location of c file is different than default location?
解决方案
- Compile and link the project
- Open a command window
- Change directory to where the executable is created
- Run the executable
这篇关于如何使用命令提示符下运行一个C程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文