everest% CC des8.C record2.C
des8.C:
record2.C:
everest% 

everest% a.out
Alternate Constructor: this=10013010, s=(10012252,"S"),str=(10013020,"S")
Identify S: id: this=10013010, str=(10013020,"S")

Do Assignment
Alternate Constructor: this=10013030, s=(10012250,"R"),str=(10013040,"R")

Identify T: id: this=10013010, str=(10013020,"S")

Identify R: id: this=10013030, str=(10013040,"R")
Finished Assignment

str1=(10013050,"Hello")
str2=(10013060,"World")
Identify S: id: this=10013010, str=(10013020,"S")
Identify P: id: this=10013030, str=(10013040,"R")

Destroy all: 
Destructor: this=10013010, str=(10013020,"S")
Destructor: this=10013030, str=(10013040,"R")


End of main()

everest% 


everest% g++ des8.C record2.C
everest% 

everest% a.out
Alternate Constructor: this=10000410, s=(100000c4,"S"),str=(10000420,"S")
Identify S: id: this=10000410, str=(10000420,"S")

Do Assignment
Alternate Constructor: this=10000430, s=(100000a0,"R"),str=(10000440,"R")

Identify T: id: this=10000410, str=(10000420,"S")

Identify R: id: this=10000430, str=(10000440,"R")
Finished Assignment

str1=(10000450,"Hello")
str2=(10000460,"World")
Identify S: id: this=10000410, str=(10000420,"S")
Identify P: id: this=10000430, str=(10000440,"R")

Destroy all: 
Destructor: this=10000410, str=(10000420,"S")
Destructor: this=10000430, str=(10000440,"R")


End of main()

everest% 
