http://www.oschina.net/news/79447/coding-at-40-years-old-or-more Read More
posted @ 2016-11-29 06:53 findumars Views(233) Comments(0) Diggs(0)
1、C++中的static_cast执行非多态的转换,用于代替C中通常的转换操作。因此,被做为隐式类型转换使用。比如: int i; float f = 166.7f; i = static_cast<int>(f); 此时结果,i的值为166。 2、C++中的reinterpret_cast主要是 Read More
posted @ 2016-11-29 00:02 findumars Views(681) Comments(0) Diggs(0)