Digital Mars Compiler简介及使用
来源:互联网 发布:英语六级听力训练软件 编辑:程序博客网 时间:2024/06/06 15:00
摘自:http://my.oschina.net/u/202634/blog/35148
很早就下载了Digital Mars 的编译器dm8.42,现在已经都8.52了,下载来是一个压缩包,不用安装,解压之后就可以使用,这可那些vs好多了,文件小,不用安装,哈哈!可是当初的我在这方面是个菜鸟,经过了几个月linux学习以及操作,懂了点command-line的使用。我想linux和windows的command-line应该可以触类旁通的吧~于是我就开始了Digital Mars Compiler之旅:
在windows下打开终端,就是在开始里-运行-cmd,进入解压的路径,我的是D:\dm\bin下,按照dm的文档里说的,在该目下创建一个hello.c的c文件,然后输入dmc hello即可编译连接,出现:link hello,,,user32+kernel32/noi;说明已经成功了。
但是dm的可执行文件和我们的C语言文件在一个目录下,会显得很乱,不是吗,于是我在bin文件下新建了一个hello文件夹,那么怎么来用dmc命令来编译C语言文件呢,于是我就尝试呗!~输入下面的命令:
D:\dm\bin\hello>..\dmc hello.c
link hello,,,user32+kernel32/noi;
然后运行生成的hello就可以运行C语言了:
D:\dm\bin\hello>hello
hello,liming
果然可以!哈哈,心理还是挺高兴的,会使用命令行了,那么在其他地方创建文件也可以喽,大家觉得呢!
- Digital Mars Compiler简介及使用
- Digital Mars C/C++ Compiler v8.48 by Digital Mars
- Digital Mars C/C++ Compiler 8.49 by Digital Mars
- Mars简介
- D programming language by Digital Mars
- D programming language 0.164 by Digital Mars
- D programming language v0.162 by Digital Mars
- D programming language v0.163 by Digital Mars
- D programming language v0.166 by Digital Mars
- D programming language v 1.010 by Digital Mars
- Mars handler 的使用
- busybox简介及使用
- busybox简介及使用
- busybox简介及使用
- busybox简介及使用
- 简介TinyXml及使用
- Busybox简介及使用
- XFire简介及使用
- HTML5讲解与演示转载整理
- iOS5中的UUID
- 分享几个国外免费MD5解密的网站
- php导出数据到excel,防止身份证等数字字符格式变成科学计数的方法
- DirectShow 开发mp3播放器
- Digital Mars Compiler简介及使用
- JDBC连接数据库的方式
- git config --list
- 详谈各种Linux发行版本优缺点
- windows 下hosts文件的作用
- SCA简介
- expect linux
- 创建类的时候使用new和不使用new
- display:inline-block的深入理解