
ACM
aihaly
这个作者很懒,什么都没留下…
展开
-
const_cast
:const_cast (expression) 该运算符用来修改类型的const或volatile属性。除了const 或volatile修饰之外, type_id和expression的类型是一样的。 一、常量指针被转化成非常量的指针,并且仍然指向原来的对象; 二、常量引用被转换成非常量的引用,并且仍然指向原来的对象;原创 2015-07-09 16:33:44 · 757 阅读 · 0 评论 -
1001. A+B Format (20)
Calculate a + b and output the sum in standard format -- that is, the digits must be separated into groups of three by commas (unless there are less than four digits). Input Each input file cont原创 2015-07-09 14:35:10 · 775 阅读 · 0 评论