¤Virtual University Of Pakistan Network¤
Your assignment must be uploaded before or on 26th January, 2012.
It should be clear that your assignment will not get any credit if:
This assignment has been designed so that you would be able to implement the Electronic Card system in OOP. After the completion of this assignment you should have a good grasp on how to implement.
In previous assignments we have understood all the basics of the Electronic Card System including the Object Model Diagram and highlighted the Abstraction of classes in terms of attributes and functions prototype. Implement of User and Card related functions of Electronic Card System. Now we want:
1st Part of the assignment:
In first part of the assignment, integrate the User class and Card class code (3rd and 4th assignment solution) in a single file. And write the main function for them. Such as:
In the main function you will create object of “User” class, and through that particular object you will call add, view, and delete method of user class.
Create an object of “Card” class, and through the particular object you will call add, view, and delete method for “Card” class.
When you call the add method of User class, then the following options will appear:
Please select any option:
If user select 1 option, then the following output will be required:
Enter User Id:
Enter User Name:
Enter User Password:
Similar functionality for the Admin User
If the view method is called through User class object, then the following output will appear:
If the delete method is called through User class object, then the following output will appear:
Enter user Id:
This user has been deleted successfully
In main function, create an object of Cards class, and through that object call different functions of Cards class, such as AddCards, ViewCards, and DeleteCards.
If the user calls the AddCards method, then the following will appears:
Please select any one option:
When user select any one option form the above, then the following will appears:
Enter Card Id:
Enter Card Name:
Enter Message for the receiver:
If the user calls the ViewCards method, then the following will appears:
Enter Card Id:
CardId :__( card id will be show here) _ CardName_(Card Name will be shown here)___
Message for the receiver :________( Here will be the message for the receiver) ______
If the user calls the DeleteCards method, then the following will appears:
Enter Card Id:
This Card has been deleted successfully
Please include the code of 3rd and 4th assignment with the 5th assignment.
For this assignment consider “Cards” class as a concrete class, not an abstract class
2nd part of the assignment:
In the second part of the assignment, we declared template classes, template functions, template constructor, and inheritance in the case of template.
Make Users, Member Users, Admin Members, Cards, BirthCards, MarriageCards, Friendship Cards, as a template classes.
Declared template constructors for all the above classes.
Show the inheritance relationship between the above template classes.
Make add, view, and delete functions as a template functions.
Note: just write the declaration of template class, template functions, template constructors, and just write that how inheritance relationship is represented in the case of templates between the given classes.
You have to upload your running zipped Dev c++ project.
simply create to classes...admin, user
in admin class print three strings for input (mentioned in assignment)
1. else-if statement to access the forum user
2. else-if to store as well as create the card
3. do-while to repeate the procedure.
in user class print three strings for input
1. else-if to view card
2. do-while for repeatition.....
Post the vu code in last section.......i.e. in third class
take the just lec#33 for this assignment.
Ab ye tu teek hai na maidam
Ap ko itna hi pata hai tu ap kiun upload nahi kartee madam
Download the Attachment file....
Cs304 Assignment # 05 Idea Solution
ye idea solution be ghalt hai madam nay kaha hai
madam ap hi upload karai abi
simple lec parh lo ok.
abi lecture ka time hi nahi raha
WAISY JIS DIN ASSIGNMENT ATI HAI TB HE SY TRY KIA KARAIN NA K END TIME MAIN BHAAGAM DOR N PARESHANI