Urgent solution needed.....

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Dec 2008
Posts: 2
Reputation: samishunk is an unknown quantity at this point 
Solved Threads: 0
samishunk samishunk is offline Offline
Newbie Poster

Urgent solution needed.....

 
0
  #1
Dec 4th, 2008
A Book shop maintains the inventory of books that are being sold at the shop. The list includes details such as author , title

, price , publisher and stock position. Whenever a customer wants a book , the sales person inputs the title and author and

the system searches the list and displays whether it is available or not. If it is not, an appropriate message is displayed. If

it is, then the system displays the book details and requests for number of copies required. If the requested copies are

available , the total cost of the requested copies is displayed ; otherwise the message " REQUIRED COPIES NOT IN

STOCK " is displayed.
Design a system using a class called books with suitable member functions and constructors. Use new

operator in constructiors to allocate memory space required.


Improve the sytem design to incorporate the following features :
a. The price of the books should be updated as and when required. Use a private member function to implement

this.

b. The stock value of each book should be automatically updated as soon as a transaction is completed.

c. The number of successful and unsuccessful transactions should be recorded for the purpose of statistical

analysis. Use static data members to keep count of transactions.

Modify the program to demonstrate the use of pointers to access the members.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2,039
Reputation: Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice 
Solved Threads: 139
Team Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Super Senior Demiposter

Re: Urgent solution needed.....

 
0
  #2
Dec 4th, 2008
I'll do it for $500.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 2,001
Reputation: ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of ArkM has much to be proud of 
Solved Threads: 343
ArkM's Avatar
ArkM ArkM is offline Offline
Postaholic

Re: Urgent solution needed.....

 
0
  #3
Dec 4th, 2008
Are you sure that daniweb is the best place for lazy pupils?
Read this: http://www.daniweb.com/forums/announcement8-2.html
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,850
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: Urgent solution needed.....

 
0
  #4
Dec 4th, 2008
> I'll do it for $500.
I'll do it for $5000.
Reply With Quote Quick reply to this message  
Join Date: Jul 2008
Posts: 320
Reputation: cikara21 is an unknown quantity at this point 
Solved Threads: 63
cikara21's Avatar
cikara21 cikara21 is offline Offline
Posting Whiz

Re: Urgent solution needed.....

 
0
  #5
Dec 4th, 2008
Originally Posted by Salem View Post
> I'll do it for $500.
> I'll do it for $5000.
I'll do it for $5005..
.:-cikara21-:.
Reply With Quote Quick reply to this message  
Join Date: Jun 2008
Posts: 182
Reputation: mrboolf will become famous soon enough mrboolf will become famous soon enough 
Solved Threads: 18
mrboolf mrboolf is offline Offline
Junior Poster

Re: Urgent solution needed.....

 
0
  #6
Dec 4th, 2008
Wow, an inverse auction in progress! :O
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 1,824
Reputation: ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all ithelp is a name known to all 
Solved Threads: 117
ithelp's Avatar
ithelp ithelp is offline Offline
Posting Virtuoso

Re: Urgent solution needed.....

 
0
  #7
Dec 5th, 2008
You will require a class named book and a vector of books ,etc. Give it a try.
Reply With Quote Quick reply to this message  
Join Date: Dec 2008
Posts: 2
Reputation: samishunk is an unknown quantity at this point 
Solved Threads: 0
samishunk samishunk is offline Offline
Newbie Poster

Re: Urgent solution needed.....

 
-1
  #8
Dec 5th, 2008
hey guys...m damn serious yar...
plz provide me wid da soln na...plz....
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC