摘要: 1 static_cast和reinterpret_cast揭秘 收藏 2 本文讨论static_cast<> 和 reinterpret_cast<>。 3 4 reinterpret_cast可以转换任意一个32bit整数,包括所有的指针和整数。可以把任何整数转成指针,也可以把任何指针转成整数, 阅读全文
posted @ 2016-03-10 23:13 zhangbaochong 阅读(935) 评论(0) 推荐(0) 编辑
摘要: 题目: A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at a 阅读全文
posted @ 2016-03-10 17:45 zhangbaochong 阅读(173) 评论(0) 推荐(0) 编辑