- 博客(2)
- 资源 (13)
- 收藏
- 关注
转载 x&(x-1)含义
求下面函数的返回值(微软) -- 统计1的个数 ------------------------------------- int func(int x) { int countx = 0; while(x) { countx++; x = x&(x-1); } return countx; }
2012-05-29 13:09:37
552
原创 判断回文串的递归函数实现(c++)
// HuiWenChuan.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; /* 递归判断是否是回文串 回文串:"abccba", "aba" */ bool isHuiWenChuan(const string &strTest) { static int i
2012-05-28 21:07:26
3600
1
gsoap文档 中文
2011-09-04
教师工资管理系统vb+sql
2009-06-23
计算机图像学ddabresh中点画圆椭圆
2009-06-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人