摘要:
获取某位的值,从低位到高位(右到左) // test.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; int ok(int n,int _Mask) { _Ma... 阅读全文
摘要:
低到高(左到右) // test.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include #include using namespace std; void ok(int n,int _Mask) { _Mask = _Mas... 阅读全文