摘要: 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int main(int ac, char*av[]) 7 { 8 string keyboard = "`1234567890-=qwertyuiop[]\\a... 阅读全文
posted @ 2016-01-04 13:08 小小泽 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 题意:输入一窜字符,然后输出每个字符在键盘上对应位置的前一位的字符,如输入W则输出Q,注意全部是大小写!其实就是破解密码类的问题。 1 #include 2 #include 3 using namespace std; 4 5 int main(int ac, char*av[]) 6 { ... 阅读全文
posted @ 2016-01-04 12:26 小小泽 阅读(189) 评论(0) 推荐(0) 编辑
摘要: C++ string 詳解 阅读全文
posted @ 2016-01-04 12:10 小小泽 阅读(150) 评论(0) 推荐(0) 编辑