看不懂的类型转换(有待解决)
摘要:
看不懂的类型转换,如下两种转换h1,h2都经过HowMany(int a =0 ) : int_class(a) {}这个函数,成员变量int_class被赋值5。 #include <iostream> #include <string> using namespace std; class HowMany { int int_class; public: Ho... 阅读全文
posted @ 2012-05-27 21:17 在旅途 阅读(150) 评论(0) 推荐(0) 编辑