文件名称:01-tan-chi-she
介绍说明--下载内容均来自于网络,请自行研究使用
使用Visual C++ 6.0来调试,先打开光盘中的snake_main.dsw文件,然后使用Build命令进行调试。
include "snake.cpp"
void main()
{
//welcome to play the game
graph_welcome()
//delay
Sleep(1000)
//the game page layout view
graph_game()
//initialize the snake and food
initial()
//begin the game
begin_game()
}//end main-Use Visual C++ 6.0 to debug, opened first CD of snake_main. DSW files, and then use Build order an debugging.
void main()
{
//welcome to play the game
graph_welcome()
//delay
Sleep(1000)
//the game page layout view
graph_game()
//initialize the snake and food
initial()
//begin the game
begin_game()
}//end main
include "snake.cpp"
void main()
{
//welcome to play the game
graph_welcome()
//delay
Sleep(1000)
//the game page layout view
graph_game()
//initialize the snake and food
initial()
//begin the game
begin_game()
}//end main-Use Visual C++ 6.0 to debug, opened first CD of snake_main. DSW files, and then use Build order an debugging.
void main()
{
//welcome to play the game
graph_welcome()
//delay
Sleep(1000)
//the game page layout view
graph_game()
//initialize the snake and food
initial()
//begin the game
begin_game()
}//end main
(系统自动生成,下载前可以参看下载内容)
下载文件列表
01-贪吃蛇\mySnakeGame\snake_main\ConsoleOut.h
.........\...........\..........\ConsoleOut.lib
.........\...........\..........\Debug\main.obj
.........\...........\..........\.....\snake_main.exe
.........\...........\..........\.....\snake_main.ilk
.........\...........\..........\.....\snake_main.pch
.........\...........\..........\.....\snake_main.pdb
.........\...........\..........\.....\vc60.idb
.........\...........\..........\.....\vc60.pdb
.........\...........\..........\main.cpp
.........\...........\..........\snake.cpp
.........\...........\..........\snake_main.dsp
.........\...........\..........\snake_main.dsw
.........\...........\..........\snake_main.ncb
.........\...........\..........\snake_main.opt
.........\...........\..........\snake_main.plg
.........\...........\..........\Debug
.........\...........\snake_main
.........\mySnakeGame
01-贪吃蛇
.........\...........\..........\ConsoleOut.lib
.........\...........\..........\Debug\main.obj
.........\...........\..........\.....\snake_main.exe
.........\...........\..........\.....\snake_main.ilk
.........\...........\..........\.....\snake_main.pch
.........\...........\..........\.....\snake_main.pdb
.........\...........\..........\.....\vc60.idb
.........\...........\..........\.....\vc60.pdb
.........\...........\..........\main.cpp
.........\...........\..........\snake.cpp
.........\...........\..........\snake_main.dsp
.........\...........\..........\snake_main.dsw
.........\...........\..........\snake_main.ncb
.........\...........\..........\snake_main.opt
.........\...........\..........\snake_main.plg
.........\...........\..........\Debug
.........\...........\snake_main
.........\mySnakeGame
01-贪吃蛇