write a program for "catlog " catlog contain subcatlog or product .
we can futher expand catlog/subcatalog. product is leaf of catalog
[like composite pattern]
1. write a c++ program to display the product on basis of product id.
write a copy constucter and assingement operator for catalog class
example
Business
/ \
Compurter Cloths
/ \ \
monitor(product) sell shirt(prodcut
[business,computer,cloths,sell are catalog]
[monitor and shits are product]
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
For more options, visit this group at
http://groups.google.com/group/algogeeks?hl=en.