Site hosted by Angelfire.com: Build your free website today!

调试用Borland C++ 3.1编写的
命令行(字符界面)Dos程序(编译成.exe文件)
--入门操作
1.安装Borland c++ 3.1

2.建立子目录c:\hello

3.启动Borland C++(DOS版本)

4.写新文件存为c:\hello\hello.c

5.修改路径
在option->Directories->output Directory中填入c:\hello
在option->Directories->source Directory中填入c:\hello

6.编译
按F9编译成hello.exe

7.运行
在DOS下进入c:\hello,输入hello后回车,显示Hello!,成功。