Question: C++ help please Problem Description This phase of the project will establish two classes. Their specific implementation details are flexible, but they should meet the

C++ help please
Problem Description This phase of the project will establish two classes. Their specific implementation details are flexible, but they should meet the following requirements: NetworkObject This class called NetworkObject defines the abstract properties of an element of our network. Additional capabilities will be added to classes derived from this base class in order to power future projects. The class should contain at least the following private variables: int objectId The class should contain at least the following public methods:
NetworkObject(int objectId)
Constructor which sets the objectId when an object is created.
int getObjectId()
Returns the objectId variable
Server
This class is a dummy derived class to which we will add complexity in future projects. The class should inherit from the NetworkObject class (we will go into detail about inheritance in the 2/10 lecture). For now, it requires no additional functionality beyond a constructor method.
Other Requirements
In your main function, choose a way to store a number of NetworkObject objects . This may be an array, a vector, a linked list, etc, it is your design choice at this stage. The main function should then instantiate some objects and then print their objectIds using the functions and classes created above.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!