c++,vc6.0,中友元函数,无法访问私有字段(private)的问题(problem),cannot access private member declared in class 'Date' 代码如下: #ifndef _DATE_H_ #define _DATE_H_ #include<iostream> using namespace std; class Date { public: Date(); Date(int y,int m,int d); void printOn();…