- 博客(1)
- 收藏
- 关注
原创 c++运算符使用友元函数重载问题
使用友元函数无故会出现: cannot access private member declared in class 'complex' 问题在编译环境,我的编译环境是vc6。 故using namespace std;需要换成: using std::cout; using std::ostream; using std::istream; using std::endl; u
2015-10-09 14:42:13 569
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人