p4
代码说明:
说明: 为了让您在使用数组,指针,结构,枚举,和不同的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. )
下载说明:请别用迅雷下载,失败请重下,重下不扣分!