Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMultiple OCX compilation process Pin
Sanjoy_Jana25-Mar-09 21:57
Sanjoy_Jana25-Mar-09 21:57 
AnswerRe: Multiple OCX compilation process Pin
led mike26-Mar-09 4:38
led mike26-Mar-09 4:38 
Questionsoftware engeenerin Pin
kkchando25-Mar-09 21:32
kkchando25-Mar-09 21:32 
AnswerRe: software engeenerin Pin
Cedric Moonen25-Mar-09 21:37
Cedric Moonen25-Mar-09 21:37 
AnswerRe: software engeenerin Pin
CPallini25-Mar-09 23:24
mveCPallini25-Mar-09 23:24 
AnswerRe: software engeenerin Pin
Michael Schubert25-Mar-09 23:38
Michael Schubert25-Mar-09 23:38 
AnswerRe: software engeenerin Pin
_AnsHUMAN_ 25-Mar-09 23:42
_AnsHUMAN_ 25-Mar-09 23:42 
Questiondata structure Pin
kkchando25-Mar-09 21:30
kkchando25-Mar-09 21:30 
Assignment

Your task is to implement a Catalog of Books.
1. For this first you have to implement Book class The Book class is a simple class to store information about a particular book and it has the following data members:
o Title of the book (string)
o Author of the book (string)
o ISBN of the book (string)
o Status of the book (bool)
Write default and parameterized constructors and setters getters for the Book class.
2. Catalog class is a linked list of Book objects and that can perform the following functionality.
o Add method to add a book in the Catalog
o printAllBooks method to print all the books in the Catalog.
o searchByAuthor method will take author name as an argument and will find a book written by that author.
o Available method to print all those books that are currently available. If the status of a book is false than it means that book is not available, if the status is true then it means book is available.
3. Include a main function as follows:
o Main will create 5 different books and add them in Catalog
o Print all books present in Catalog linked list.
o Search a Book by its Author name.
o Print all the books which are available.
Hint:
Make Nodes of Book type and then link them to make Catalog linked list. It means there will be another class between Book and Catalog and that is BookNode class.

GOOD LUCK
AnswerRe: data structure Pin
Garth J Lancaster25-Mar-09 23:57
professionalGarth J Lancaster25-Mar-09 23:57 
Questionc++ Pin
kkchando25-Mar-09 21:28
kkchando25-Mar-09 21:28 
AnswerRe: c++ Pin
Chandrasekharan P25-Mar-09 21:34
Chandrasekharan P25-Mar-09 21:34 
AnswerRe: c++ Pin
CPallini25-Mar-09 23:22
mveCPallini25-Mar-09 23:22 
QuestionVideo recording and write to .avi file Pin
tns_ranjith25-Mar-09 21:15
tns_ranjith25-Mar-09 21:15 
AnswerRe: Video recording and write to .avi file Pin
«_Superman_»25-Mar-09 21:24
professional«_Superman_»25-Mar-09 21:24 
QuestionWho know meanshift algorithmic used in track? Pin
onlybluemoon25-Mar-09 20:41
onlybluemoon25-Mar-09 20:41 
AnswerRe: Who know meanshift algorithmic used in track? Pin
onlybluemoon26-Mar-09 1:03
onlybluemoon26-Mar-09 1:03 
Questionfread() returning zero Pin
hemlat25-Mar-09 20:14
hemlat25-Mar-09 20:14 
AnswerRe: fread() returning zero Pin
«_Superman_»25-Mar-09 21:18
professional«_Superman_»25-Mar-09 21:18 
QuestionParent class constructor Pin
chotti3500725-Mar-09 20:06
chotti3500725-Mar-09 20:06 
AnswerRe: Parent class constructor Pin
S p k 52125-Mar-09 20:35
S p k 52125-Mar-09 20:35 
AnswerRe: Parent class constructor Pin
«_Superman_»25-Mar-09 21:19
professional«_Superman_»25-Mar-09 21:19 
QuestionC++ Child class access Pin
chotti3500725-Mar-09 19:42
chotti3500725-Mar-09 19:42 
AnswerRe: C++ Child class access Pin
«_Superman_»25-Mar-09 19:49
professional«_Superman_»25-Mar-09 19:49 
GeneralRe: C++ Child class access Pin
chotti3500725-Mar-09 19:53
chotti3500725-Mar-09 19:53 
GeneralRe: C++ Child class access Pin
«_Superman_»25-Mar-09 19:54
professional«_Superman_»25-Mar-09 19:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.