Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

heredar constructor c++

class Bar {
  public:
      Bar(int weight, int height);
}

class Computer: public Bar {
	public: 
	   Computer(int weight, int height): Bar(weight, height) {};
};
 
PREVIOUS NEXT
Tagged: #heredar #constructor
ADD COMMENT
Topic
Name
9+5 =