01 2015 档案
摘要:题目描述: Determine whether an integer is a palindrome. Do this without extra space.solution1: //依次比较高位和低位数字是否相同bool isPalindrome(int x) { if(x...
阅读全文
摘要:最近在接触软件注册模块,需要获取硬盘序列号来生成注册码。 硬盘序列号,英文名:Hard Disk Serial Number,该号是硬盘厂家为区别产品而设置的,是唯一的。网上搜索一下,发现获取硬盘序列号的代码遍地都是,但很多是错误的。典型代表就是使用GetVolumeInformation函数获取序
阅读全文