摘要:
如果: char c='0'; cout 阅读全文
posted @ 2017-03-01 17:22
wdan2016
阅读(154)
评论(0)
推荐(0)
摘要:
1.static_cast 最常用的类型转换符,在正常状况下的类型转换,如把int转换成float,如: int i; float f; f=(float)i; 或者 f=static_cast(i); 2.const_cast 用于取出const属性,把const类型的指针变为非const类型的指 阅读全文
posted @ 2017-03-01 17:08
wdan2016
阅读(232)
评论(0)
推荐(0)

浙公网安备 33010602011771号