Here is a list of file names with extensions. Pick at least one that could properly be the implementation file and at least one that can properly serve as interface file.
a) File.cxx
b) File.hxx
c) File.cc
d) File.h
e) File.cpp
f) File.hpp
Implementation: parts a) c) and e); interface parts b) d) and f).
Explanation: Parts a), c) and e) have extensions that systems recognize as C++ source files, hence could serve implementation. b) d) and f) have extensions that are used bycompiler writers and systems as header files. Compiler don't care much what the
extension is for #include files. (The #include directive isn’t very smart.)
Note that hxx and hpp are not mentioned in the text.
You might also like to view...
How can you use Lightroom for tethered shooting with a camera that is not supported?
What will be an ideal response?
On switch SW4, disable every interface with the Interface range command.
What will be an ideal response?
COGNITIVE ASSESSMENT A wireless keyboard is a battery-powered device that transmits data to the system unit using wireless technology. Which of the following wireless technologies commonly are used for this purpose?
A. KeyTrack B. SATA C. DVI D. Bluetooth
Which of the following is not an example of a color scheme?
a. monochromatic b. analogous c. complementary d. gradient