增加了两个暂停功能和一个判断字符的功能
代码:
namespace _game_hs{
typedef unsigned long long ull;
bool axj(int a){
return GetKeyState(a)<0;
}
void color(int c)
{
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), c);
return;
}
void colorout(string s,int c){
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),c);
cout<=0;i--)
s1+=s[i];
return s1;
}
bool pdzf(char c){
if(c>=32&&c<=127)return 1;
return 0;
}
void zt(){
cout<<"请按任意键继续. . .";
char c;
c=_getch();
return;
}
void zt(int x){
Sleep(x);
return;
}
}
using namespace _game_hs;



