摘要: 获取某位的值,从低位到高位(右到左) // test.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; int ok(int n,int _Mask) { _Ma... 阅读全文
posted @ 2016-09-26 19:35 byfei 阅读(1848) 评论(0) 推荐(0) 编辑
摘要: 低到高(左到右) // test.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; void ok(int n,int _Mask) { _Mask = _Mas... 阅读全文
posted @ 2016-09-26 17:45 byfei 阅读(496) 评论(0) 推荐(0) 编辑