Can inner class access to outer class variable?

后端 未结 0 494
-上瘾入骨i
-上瘾入骨i 2020-11-21 12:30

I\'m trying to write a code that has nested class like:

class Image {  
public:
      int numRows;
      int numCols;
      int minVal;
      int         


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