C/C++中强制类型的转换(static_cast)

发现个新的领域,参考代码:http://www.javashuo.com/article/p-txpmxpfw-co.htmlhtml http://www.javashuo.com/article/p-fcphoycs-mm.html.net double a = 1.999; int b = static_cast<double>(a); //至关于a = b ; 这种是C++中特殊的强制转换
相关文章
相关标签/搜索