文件名称:rjxq-mygame
介绍说明--下载内容均来自于网络,请自行研究使用
人机下棋游戏,用C++语言实现,其中包含一个.h和一个.cpp文件.int n=0,max=0,temp=0
char ch
//输出棋盘原始状态
Print()
cout<<"You First or Second(F/S)?"
cin>>ch
if((ch== S )||(ch== s ))
{
status[4]= X
counter=counter+1
Print()
cout<<"Computer plays 5!"<<endl
}-it is include two files,one is .h file,another one is .cpp file.
int n=0,max=0,temp=0
char ch
//输出棋盘原始状态
Print()
cout<<"You First or Second(F/S)?"
cin>>ch
if((ch== S )||(ch== s ))
{
status[4]= X
counter=counter+1
Print()
cout<<"Computer plays 5!"<<endl
}
char ch
//输出棋盘原始状态
Print()
cout<<"You First or Second(F/S)?"
cin>>ch
if((ch== S )||(ch== s ))
{
status[4]= X
counter=counter+1
Print()
cout<<"Computer plays 5!"<<endl
}-it is include two files,one is .h file,another one is .cpp file.
int n=0,max=0,temp=0
char ch
//输出棋盘原始状态
Print()
cout<<"You First or Second(F/S)?"
cin>>ch
if((ch== S )||(ch== s ))
{
status[4]= X
counter=counter+1
Print()
cout<<"Computer plays 5!"<<endl
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
案例23_人机下棋\Example_rjxq\Debug\Example_rjxq.exe
...............\............\.....\Example_rjxq.pdb
...............\............\.....\mygame.obj
...............\............\.....\vc60.pdb
...............\............\Example_rjxq.dsp
...............\............\Example_rjxq.dsw
...............\............\Example_rjxq.ncb
...............\............\Example_rjxq.opt
...............\............\Example_rjxq.plg
...............\............\game.h
...............\............\mygame.cpp
...............\............\Debug
...............\Example_rjxq
案例23_人机下棋
...............\............\.....\Example_rjxq.pdb
...............\............\.....\mygame.obj
...............\............\.....\vc60.pdb
...............\............\Example_rjxq.dsp
...............\............\Example_rjxq.dsw
...............\............\Example_rjxq.ncb
...............\............\Example_rjxq.opt
...............\............\Example_rjxq.plg
...............\............\game.h
...............\............\mygame.cpp
...............\............\Debug
...............\Example_rjxq
案例23_人机下棋