Answer the following questions true (T) or false (F)

1. The include statement, #include “file.h” looks first in the system defined directory for file.h then, if the file is not found, it looks in the user’s current directory. (Windows PC and Macintosh users sometimes use “folder” for what I call “directory”.)

2. The include statement, #include looks in the system defined directory for the file, file.h. (Windows PC and Macintosh users sometimes use “folder” for what I call “directory”.)


1. False
Explanation: The question had it backwards. The #include “file.h” makes the preprocessor look in the user’s current directory first, then in the system defined directory.
2. True
Explanation: Every system has one or more include directories that C++ compilers search for include files. The < > in #include signal the preprocessor to look in the system directory.

Computer Science & Information Technology

You might also like to view...

A domain ____________________ is a server role or function that handles authentication on a Windows domain.

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

Computer Science & Information Technology

Activities on the Outlook ________ list can be scheduled, categorized, marked as complete, or assigned to other people

A) Tasks B) Calendar C) Contacts D) Schedule

Computer Science & Information Technology

Answer the following statement(s) true (T) or false (F)

With many computer forensics tools, you can open files with external viewers.

Computer Science & Information Technology

Command lines placed after the ShowDialog method call are not executed until the second Form object is closed.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology