Now that we’re working with classes that we write, do I have to include the iostream and fstream libraries to write output to the screen or to a file? Explain.
What will be an ideal response?
Yes, you need to include whatever libraries that contains objects, classes, or functions that you wish to use. Just because we are writing our own classes, doesn’t mean that principle changes!
You might also like to view...
Draw a picture of an initially empty data structure, as described in the previous exercise, after adding the numbers 2, 8, 4, and 6, in this order.
What will be an ideal response?
The only program that can play .swf files is the Flash Player plug-in.
Answer the following statement true (T) or false (F)
You are a patrol officer assigned to downtown Manhattan. During a routine stop, you see a baggie of white powder sitting on the back seat. You are allowed to confiscate this as evidence based on the plain view doctrine
a. True b. False
In a program such as the day/time program, the ____ is responsible for establishing an output stream on the connection.
A. client B. server C. port D. socket