#include<iostream>
#include<stdio.h>
#include<stdlib.h>
#include<conio.h>
#include<time.h>
/*///////先包含着,定义了太多,蛋疼,手机被收了,下星期又段考了,现在实在没时间好好弄,可能有些数值有错,但程序肯定可以运行,代码写的不好,求大神们积极指点,后续还会更新的!还有,存档求大神们写一下!!!!*////////
using namespace std;
int HP1=10, HP2 =5, ATT1 =8,ATT2 =4;
int lyarmy=1000;
int sum,costg,costf;
int x[6] = { 1, 1, 2, 3, 4, 5 };
int l[10] = { 0, 0, 0, 0, 0, 0 }, people = 1000;
int g[10] = { 100, 300, 500, 700, 900, 1200, 1500 }, f[10] =
{
200, 500, 800, 1100, 1500, 2000};
int cavalry = 10, infantry = 10, prestige = 100;
// 用全局变量储存玩家兵力、声望、人口
int rgold = 10000, rfood = 10000, riron = 10000, rwood = 10000;
char name[30];
int incity();
void startsg();
int addres(int g, int f);
int addsold(int l,int t);
void addpeo(int p);
void map();
int showhero();
void uhero();
int battle(int type,int aarmy,int darmy);
class Welcome
{
public:
// char name[30];
Welcome()
{
printf("\033[47;36m 欢迎来到安卓三国\n\33[40;37m");
printf
("\033[47;36m 在这里你将体验到精彩纷呈的战争之旅!\n\33