还有几个库里面找不到的输入函数
能在源程序的注释找到
//限制输入为整形的输入框,可改变 对话框提示文字;返回输入的整数
int EGEAPI getInteger(LPCSTR text = "Input an integer and press ENTER");
//限制输入为浮点数的输入框,可改变 对话框提示文字;返回输入的浮点数
double EGEAPI getDouble(LPCSTR text = "Input a float and press ENTER");
//限制输入内容长度的字符串输入框,可改变 对话框提示文字;输入的字符串存放在 buf 中,函数返回 buf地址
LPSTR EGEAPI getString(LPSTR buf, int length, LPCSTR text = "Input a string and press ENTER");
//限制输入为字符的输入框,可改变 对话框提示文字;返回输入的字符
char getChar(LPCSTR text = "Input a character and press ENTER");
//限制输入格式为点的坐标的输入框,可改变 对话框的标题
//每个点的坐标有两个:x,y;可以称为一个坐标对
//coords: 存储用户输入的坐标:coords[0]:x1, coords[1]:y1; coords[2]:x2, coords[3]:y2;......
//pairs: 想要输入的坐标对的数量。该函数可以按照调用者制定的数量不断要求用户输入坐标对
//title: 对话框的标题
//返回值:指向coords[]数组的指针
int* getCoords(int* const coords, unsigned int pairs, LPCSTR title = "Input Coordinations");