![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
小阿小火苗
我是小火苗,我怕水
展开
-
关于字节对齐
字节对齐原创 2016-07-29 14:13:07 · 236 阅读 · 0 评论 -
判断大小写的高效方式
class Solution { public: bool detectCapitalUse(string word) { int uppers = 0; for (auto letter : word) if (isupper(letter)) ++uppers; return !upper原创 2017-05-08 19:53:52 · 431 阅读 · 0 评论 -
C笔记 符号数
C语言,参与运算的一个是有符号,一个是无符号,那么会隐式地将有符号的那个数转化为无符号数,并假设这两个数都是非负的,来执行运算原创 2017-06-13 21:19:34 · 256 阅读 · 0 评论