https://live.csdn.net/v/385490 #include <stdbool.h> #include<stdio.h> #include<stdlib.h> #include<time.h> #include<graphics.h> #include <algorithm> #include<math.h> #include<mmsystem.h> #include <iostream> using namespace std; #pragma comment(lib,"winmm.lib") //所需要的库引入 需要准备的相关宏定义: #define WIN_WIDTH 1024 #define WIN_HEIGHT 640 #define MAP_WIDTH (WIN_WIDTH*5) #define MAP_HEIGHT (WIN_HEIGHT*5) #define FOOD_NUM 1000 #define AI_NUM 500 初始化显示终端:initgraph(1024,640) int main() { initgraph(WIN_WIDTH,...
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile