Quantcast
Channel: CodeChef Discuss - latest questions
Viewing all articles
Browse latest Browse all 39796

nested classes in c++

$
0
0

consider the following classes: 1.book:holds the properties like book_id,title,author,publisher,category etc... 2.publisher:holds the properties like name,id,address etc.. 3.author:holds the properties like name,id,address etc.. 4.category:holds the properties like title,id,etc..

consider the following notes: 1.consider relevant behaviors for every class 2.assume exactly one author and one publisher for each book 3.demonstrate the following concepts by implementing suitable behaviors: i)parametrized constructor and destructors ii)nested classes:find and implement suitable outer class and classes iii)array of objects:create array of book class objects iv)friend functions: 1.find the total number of book published by a specified publisher 2.list all the book of a specified author.


Viewing all articles
Browse latest Browse all 39796

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>