用C++编一个程序,题目是英文的。急求大侠帮忙啊。
题目:Designaclassnamed"square",theclasscontains:A:Datefieldof"height"B:Ano-argconstruct...
题目:Design a class named "square",the class contains:
A: Date field of "height"
B: A no-arg constructor that creates a square object for height =1.0"
C: constructor that creates a square object for a given height
D: A got function for the data field
E: A get function for the area
G: an overloaded function of"++" that increnses the height by 1.0 only for square class 展开
A: Date field of "height"
B: A no-arg constructor that creates a square object for height =1.0"
C: constructor that creates a square object for a given height
D: A got function for the data field
E: A get function for the area
G: an overloaded function of"++" that increnses the height by 1.0 only for square class 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询