Question: Choose the best solution for creating a separate compilation library for a template class: Select an answer and submit. For keyboard navigation, use the up

Choose the best solution for creating a separate compilation library for a template class:
Select an answer and submit. For keyboard navigation, use the up/down arrow keys to select an answer.
a
split normally; #include both .h and .C files in main application
b
don't split everything goes in the .h file
c
don't split everything goes in the .C file
d
split into 3 files (a new one, the .h, and a .C for possible future compatibility); use #define symbols to detect current compilers broken separation ability
e
just inline all the class functions so you don't need a .CChoose the best solution for creating a separate compilation library for a template class:
Select an answer and submit. For keyboard navigation, use the up/down arrow keys to select an answer.
a
split normally; #include both .h and .C files in main application
b
don't split everything goes in the .h file
c
don't split everything goes in the .C file
d
split into 3 files (a new one, the .h, and a .C for possible future compatibility); use #define symbols to detect current compilers broken separation ability
e
just inline all the class functions so you don't need a .C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!