文件名称:p4
- 所属分类:
- Linux/Unix编程
- 资源属性:
- [C/C++] [源码]
- 上传时间:
- 2013-11-16
- 文件大小:
- 5kb
- 下载次数:
- 0次
- 提 供 者:
- X**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
为了让您在使用数组,指针,结构,枚举,和不同的I/ O流的经验。为了让你有乐趣的应用程序是非常迷人的。
世界的简单的程序,我们将编写此项目模拟运行的生物围绕在一个简单的方形的世界。世界是一个m-n的平方二维网格(数m代表网格的高度的个数n表示宽度的网格。)。
每个生物生活的广场之一,面临的一个主要罗盘方向(北,
东,南,西),属于一个特定的物种,这就决定了该生物如何
行为方式。-To give you experience in using arrays, pointers, structs, enums, and different I/O streams.
To let you have fun with an application that is extremely captivating.
The simple world program we will write for this project simulates a number of creatures running
around in a simple square world. The world is an m-by-n two-dimensional grid of squares (The
number m represents the height of the grid and the number n represents the width of the grid.).
Each creature lives in one of the squares, faces in one of the major compass directions (north,
east, south, or west) and belongs to a particular species, which determines how that creature
behaves.
世界的简单的程序,我们将编写此项目模拟运行的生物围绕在一个简单的方形的世界。世界是一个m-n的平方二维网格(数m代表网格的高度的个数n表示宽度的网格。)。
每个生物生活的广场之一,面临的一个主要罗盘方向(北,
东,南,西),属于一个特定的物种,这就决定了该生物如何
行为方式。-To give you experience in using arrays, pointers, structs, enums, and different I/O streams.
To let you have fun with an application that is extremely captivating.
The simple world program we will write for this project simulates a number of creatures running
around in a simple square world. The world is an m-by-n two-dimensional grid of squares (The
number m represents the height of the grid and the number n represents the width of the grid.).
Each creature lives in one of the squares, faces in one of the major compass directions (north,
east, south, or west) and belongs to a particular species, which determines how that creature
behaves.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
simulation.h
simulation.cpp
p4.cpp