#include <iostream> using namespace std; #include <string> char A[3][3][4] = {{{'a','b','c'},{'d','e','f'},{' ',' ',' '}}, {{'g','h','i'},{'j','k','l'},{'m','n','o'}} ,{{'p','q','r','s'},{'t','u','v'},{'w','x','y','z'}} }; //三维数组存放键盘样式 //匹配按键 int point(char ch){ for (int i = 0; i ...