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 do you set document defaults?
What will be an ideal response?
On ESS networks that have multiple access points, the wireless device might actually receive beacon frames from several APs. Which AP would a wireless device generally choose in this case?
A. the closest B. the one with the fewest wireless devices attached to the AP C. the one with the strongest signal strength D. the choice will be random