plz upload the solution..................
Object Oriented Programming (CS304)View more random threads:
- cs402 idea solution assignment no 2 fall 2010
- CS610 Computer Networks Assignment no 02 FALL Spring 10...
- Artificial Intelligence Assignment # 01
- Visual Programming (CS410) Assignment no 3 solution fall...
- MCM301 Communication skills Assignment No.1 Solution Spring...
- CS402 Theory of automata assignment #2 has been uploaded
- cs502 assignment no 1 on 08 April Spring 2011 Idea solution...
- CS605 Software Engineering II Assignment No.3 Fall Semester...
- cs201 assignment no 1 April 12 Spring 2011
- CS602-Computer Graphics Assignment No. 02 Fall 2012
Assignment No.03
Total Marks 10
Deadline
Your assignment must be uploaded before or on 14th June, 2011.
Rules for Making
It should be clear that your assignment will not get any credit if:
o The assignment is submitted after due date
o The assignment is copied
Objectives
This assignment has been designed so that you would be able to implement the concept of Inheritance in OOP. After the completion of this assignment you should have a good grasp on how to implement.
o Inheritance
o Public & private inheritance
o Using basic constructs of OOP in a program
In previous assignments we have understood all the basics of the Content Management System including the Object Model Diagram and highlighted the Abstraction of classes in terms of attributes and functions prototype. Now it is time to implement the full system in parts, so this assignment is first step towards it (there will be one more assignment also).
Assignment:
In this assignment you have to code/implement the below said classes in running form these classes are,
• Topic
• Sub Topic
Meaning after completion of this assignment your c++ program will be able to
1. Add/Edit/Remove Topics
2. Search/ View Topic
3. Print/Download Topic
Now for implementing these two classes practically in c++ you have to define classes according to the requirements (solution of second assignment) given below, each class will have some attributes and functions that needs to be implemented in reality.
Note: You may add some more attributes and functions in any of the class but already given attributes and functions will be at least in your solution file.
class topic{ // topic class
//topic class attributes
// Access specifier is by default private
int ID;
char * title;
public: // public access specifier
Sponsored Links
// topic class functions/ operations
void add();
void remove();
bool select();
void search();
void View();
void print();
void download();
};// end of topic class
// ************************************************** ******************
// ************************************************** ******************
// ************************************************** ******************
class SubTopic: public topic { // Inheritance relationship b/w topic and sub topic
// Attributes of SubTopic class
// Access specifier is by default private
int SubID;
};
Furthermore, you are required to introduce the implementation of constructor, destructor and implementation of getter and setter functions in classes in such a way that,
The ‘SubTopic’ class restrict the functionality of setTitle() function by override the setTitle() function of its base class‘Topic’ and check the condition:
If the “title” has a paragraph text (length) then prints that “Eligible for being a Topic Title”.
If object of “SubTopic class is initialized with no paragraph length, then it prints a message
“Title just contain name and there is no description” and sets the value of title to default.
Important Note:
This is just starting code for demonstrating how Inheritance can be implemented you can add as much details as you like.
Uploading Instructions:
You have to upload your running zipped Dev c++ project.
plz upload the solution..................
acha abhi tak nahi keya
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
please upload the solution i need it
a.a i need assignment 03 of cs 304 spring 2011 not fall 2011
tu then you should post it in spring not in fall.
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
jo start min hai assignment woh spring ha plz uploaded solution
please upload solution
kb ayayga solution?
ah jay ga. janab thora sabar rakhen.
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
There are currently 1 users browsing this thread. (0 members and 1 guests)