Description: main()
{
Sub1 s1(1000, "This is an object of Sub1")
Sub2 s2(2000, 10)
s1.printOn()
// 此时显示出: <1000: This is an object of Sub1>
s2.printOn() // 此时显示出: <10 and 2000>}
To Search:
File list (Check if you may need any files):
zuoye1.cpp
C++练习题目.doc