The following contain several #include directives that may have problems. Which have one or more problems, and what problems?

a. #include
b. #include < iostream>
c. #include “MyStream.h”
d. #include “cctype “
e. #include “This file does not exist on the system”


All Except a) and c)
Explanation: b) The space between < and iostream makes preprocessor think the file name has a space at the front of the name. In part c), the system looks in the default directory then in the system directories as it does for . d) has space at the end of the file name. e) The file name is unlikely. At the least, the situation should be examined.

Computer Science & Information Technology

You might also like to view...

A comment that appears at the bottom of the page and contains the corresponding superscript number is called a _____.

A. footer B. note C. reference D. footnote

Computer Science & Information Technology

100BASE-T4 includes 4 twisted pairs of wire

Indicate whether the statement is true or false

Computer Science & Information Technology

The __________ phase is the first phase of the SecSDLC and frequently includes the creation of policy.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Which of these software characteristics are used to determine the scope of a software project?A) communications requirementsB) contextC) functionD) information objectivesE) performanceF) software platform

What will be an ideal response?

Computer Science & Information Technology