Answer:
// In the number.cpp file;
#include "Number.h"
#include <iostream>
using namespace std;
Number::Number(int number)
{
num = number;
}
void Number::SetNum(int number)
{
num = number;
}
int Number::GetNum()
{
return num;
}
ostream &operator<<(ostream &out, const Number &n)
{
out << "The value is " << n.num << endl;
return out;
}
// in the main.cpp file;
#include "Number.cpp"
#include <iostream>
using namespace std;
int main()
{
int input;
cin >> input;
Number num = Number(input);
cout << num;
return 0;
}
Explanation:
The main function in the main.cpp file prompts the user for the integer value to be displayed. The Number file contains defined functions and methods of the number class to set, get and display the "num" variable.
Answer:
C. the study of world cultures and their impact on various social institutions
Explanation:
10mb/s
------------------------------------
Answer: A. RDP
Explanation:
RDP stands for remote desktop protocol which is being developed by Microsoft. Using RDP we can open and edit the files, save the files on the server, and print the files to a printer connected to a computer at home.
Here we have two versions the one used by the client has to run the client version and the one from which the access of the files is required has to run the servers version. RDP listens to port 3389 of both TCP and UDP.
With the help of this protocol one can be able to access all the files from the server computer and hence proves to be very effective in big projects.