C++四种强制类型转换关键字
摘要:C语言使用强制类型转换(Type Cast)很简单,不管什么类型的转换,形式都如下: TYPE b = (TYPE)a; c++提供了4种类型转换操作符来应对不同场合的应用。 const_cast static_cast dynamic_cast reinterpreter_cast 4种关键字的使
阅读全文
posted @ 2016-04-29 19:34
posted @ 2016-04-29 19:34
posted @ 2016-04-29 18:49
posted @ 2016-04-18 16:45
posted @ 2016-04-15 19:37
posted @ 2016-04-12 12:27
posted @ 2016-04-11 09:38
posted @ 2016-04-11 09:12