2016年3月31日

摘要: 单击Quit按钮或空格都会退出。 阅读全文

posted @ 2016-03-31 22:58 徐岩 阅读(162) 评论(0) 推荐(0)

摘要: 版本:Qt 5.5.1 Windows 参考: C++ GUI Programming with Qt 4 Second Edition 1. 打开 Qt Creator,File -> New Project -> Other Project -> Empty qmake project 2. 建 阅读全文

posted @ 2016-03-31 22:31 徐岩 阅读(131) 评论(0) 推荐(0)

摘要: Determine whether an integer is a palindrome. Do this without extra space. Some hints: Could negative integers be palindromes? (ie, -1) If you are thi 阅读全文

posted @ 2016-03-31 12:32 徐岩 阅读(146) 评论(0) 推荐(0)

摘要: Implement atoi to convert a string to an integer. Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below 阅读全文

posted @ 2016-03-31 10:55 徐岩 阅读(132) 评论(0) 推荐(0)

摘要: Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 Example1: x = 123, return 321Example2: x = -123, return -32 阅读全文

posted @ 2016-03-31 10:23 徐岩 阅读(100) 评论(0) 推荐(0)