![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C/C++
shizhipeng
这个作者很懒,什么都没留下…
展开
-
2021-04-14
vs2019错误:error MSB4030: "Default" is an invalid value for the "ConformanceMode" parameter of the "CL" task. The "ConformanceMode" parameter is of type "System.Boolean".在vs2019 16.8 以后的版本中有变化: 在project上点击右键 -> property -> C/C++ -> Language ->.原创 2021-04-14 16:38:04 · 2066 阅读 · 1 评论 -
得到一个平方数
给出一个数,例如:27, 得到比这个数大的一个数, 这个数是2的平方。 这个平方数是比27大的最小的平方数。 那就应该是32。源代码如下:unsigned int clp(unsigned int x){ x = x - 1; x = x | (x >> 1); x = x | (x >> 2); x = x | (x >> 4); x = x | (x >> 8);原创 2010-03-26 21:16:00 · 790 阅读 · 0 评论