说明:初学C++时的一个小程,古堡救美游戏,输入命令指引hero探险,遇到princess胜利,遇到monster结束,主要为了熟悉c++,熟悉oop思想
The program is debugged on the plat of VC 6.0
其主体结构为:
int main()
{
Welcome()
while(1)
{
Adventure() //游戏主体
cout<<endl<<\"Do you wanna
<声明者> 在 2008-10-13 上传
| 大小:3.87kb | 下载:1