can we use cin>> in member functions in a class in C++?

后端 未结 0 1629
半阙折子戏
半阙折子戏 2020-12-19 02:43

I\'m trying to initialize a class matrix using a member function like thiis

class mat{
    int r,c;
    float **p;
    
    public:
    
    mat(){}
    mat(i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题