Click here to Skip to main content
15,889,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: using Container template class. new to containers help please Pin
Stuart Dootson28-Mar-09 22:08
professionalStuart Dootson28-Mar-09 22:08 
GeneralRe: using Container template class. new to containers help please Pin
Garth J Lancaster28-Mar-09 23:03
professionalGarth J Lancaster28-Mar-09 23:03 
GeneralRe: using Container template class. new to containers help please Pin
Brandon Ramirez30-Mar-09 4:54
Brandon Ramirez30-Mar-09 4:54 
Questionthe date-elapsing dialog box for the trial version software Pin
Jonathan M Malowitz28-Mar-09 12:05
Jonathan M Malowitz28-Mar-09 12:05 
AnswerRe: the date-elapsing dialog box for the trial version software Pin
«_Superman_»28-Mar-09 18:09
professional«_Superman_»28-Mar-09 18:09 
QuestionHow to add Vertical and Horizontal scrollbars to a CListBox Pin
V K 228-Mar-09 7:05
V K 228-Mar-09 7:05 
AnswerRe: How to add Vertical and Horizontal scrollbars to a CListBox Pin
Hamid_RT28-Mar-09 9:09
Hamid_RT28-Mar-09 9:09 
Questionc++ code required for this small study program Pin
sexinthecity28-Mar-09 4:00
sexinthecity28-Mar-09 4:00 
: Use Dev-C++ 4.9.9.2
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
AnswerRe: c++ code required for this small study program Pin
CPallini28-Mar-09 4:22
mveCPallini28-Mar-09 4:22 
GeneralRe: c++ code required for this small study program Pin
Garth J Lancaster28-Mar-09 23:08
professionalGarth J Lancaster28-Mar-09 23:08 
RantRe: c++ code required for this small study program Pin
Maximilien28-Mar-09 11:06
Maximilien28-Mar-09 11:06 
AnswerRe: c++ code required for this small study program Pin
Joe Woodbury28-Mar-09 16:02
professionalJoe Woodbury28-Mar-09 16:02 
GeneralRe: c++ code required for this small study program Pin
Code-o-mat28-Mar-09 23:23
Code-o-mat28-Mar-09 23:23 
GeneralRe: c++ code required for this small study program Pin
Eytukan29-Mar-09 4:20
Eytukan29-Mar-09 4:20 
JokeRe: c++ code required for this small study program [modified] Pin
Yusuf29-Mar-09 8:51
Yusuf29-Mar-09 8:51 
GeneralRe: c++ code required for this small study program Pin
Joe Woodbury29-Mar-09 11:52
professionalJoe Woodbury29-Mar-09 11:52 
GeneralRe: c++ code required for this small study program Pin
Yusuf29-Mar-09 13:05
Yusuf29-Mar-09 13:05 
GeneralRe: c++ code required for this small study program Pin
Joe Woodbury29-Mar-09 15:15
professionalJoe Woodbury29-Mar-09 15:15 
GeneralRe: c++ code required for this small study program Pin
Yusuf29-Mar-09 16:24
Yusuf29-Mar-09 16:24 
QuestionProblem in multiple item deletion in CListCtrl Pin
Le@rner28-Mar-09 2:43
Le@rner28-Mar-09 2:43 
AnswerRe: Problem in multiple item deletion in CListCtrl Pin
Cedric Moonen28-Mar-09 3:05
Cedric Moonen28-Mar-09 3:05 
GeneralRe: Problem in multiple item deletion in CListCtrl Pin
sbtdkj101728-Mar-09 4:03
sbtdkj101728-Mar-09 4:03 
GeneralRe: Problem in multiple item deletion in CListCtrl Pin
Le@rner29-Mar-09 18:18
Le@rner29-Mar-09 18:18 
AnswerRe: Problem in multiple item deletion in CListCtrl Pin
Stephen Hewitt28-Mar-09 5:25
Stephen Hewitt28-Mar-09 5:25 
QuestionCCheckboxlist.. Pin
p_196028-Mar-09 0:37
p_196028-Mar-09 0:37 

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.