music store lab c++

An input validation function that gets and validates the name of the package (for example A or b, etc.) Think about the return type of that function. You can call it getValidPackage. This function can NOT be generically named.

An input validation function that gets the number of downloaded songs this month. Call it getPosInt - remember the rule for generic function names.

A function that prints information about a SPECIFIC package (you need to call that three times to print the three available packages. 

For teams that want to do more than the "basic requirements":

You can try have a function getNum that validates that the user input is actually numeric. In other words if the user types "five" instead of "5", your program should not crash, but instead it will print an error message like "Please enter a number: " and keeps doing that until the user enters an actual value. You can have the getPosInt call that function.

Hints on how to accomplish this:

You need to have the cin as a condition, as well as use the .clear() method. The clear() method resets the flags of the cin (note that reset the flags is different than remove anything left in the cin).

Skills: C++ Programming

See more: music store module xoops, best cms music store, ecommerce solutions music store, music store jsp project, scitscat music store, clone website music store, online music store, music store mp3 script, project scope music store management system, oscommerce music store, online music store html php, music store clone, oscommerce online music store, embedded music store, music store script, music store site aspnet

About the Employer:
( 1 review ) revere, United States

Project ID: #22224275

3 freelancers are bidding on average $47 for this job


I am very proficient in c and c++. I have 18 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environ More

$80 USD in 1 day
(95 Reviews)

Hello, I read your instructions carefully. I had done similar task in my graduation. It was the final of a course in which you have to do programming with classes using concepts of inheritance, pointers, polymorphism, More

$50 USD in 7 days
(0 Reviews)

Dear sir..I LL be happy to finish your project as per your request.

$10 USD in 15 days
(0 Reviews)