These notes are here to help you understand what you missed on the exam, and to provide at least a partial rubric for how it was graded.
The complete exam (with answer key) is available online—however, in that document, question 10 is formatted differently than it was on the actual exam. This web page shows how it was actually formatted.
These questions were multiple choice. The median score was 26/30, meaning that half the class scored a B+ or higher. Furthermore, only 10 students scored lower than 21/30 (i.e. less than a C-). The answers are posted online, so I'm not going to add any detailed comments here.
This question was a two-page 11 x 17 foldout sheet. The images below show correct answers. These are scans from actual exam papers of students with perfect scores on this question. There were at least* seven such papers.
(*I have not yet graded the papers of those not putting their section number on page one.)

#include file idempotent.#ifndef or #define (e.g. all of these are wrong: #def, #indef, #ifendif)#define line) #include <iostream>) const on get functions. Get functions should always be declared as const as a matter of good programming style. 
cin >> and cout <<, which has no place inside a get function), and not even including the name of the class and the binary scope resolution operator. If you had everything else wrong, but at least got the class name and binary scope resolution operator correct, you got (-8) instead of (-10).TempReading_C::) which must always precede the name of the function when defining member functions outside the class declaration. const on get functions, if I already deducted for that on (b). However, get functions should always be declared as const as a matter of good programming style, and in the future I might not apply a "no double jeopardy" rule. return (0); on a void function (just return; is ok, or leaving off the return; is ok too.)Temp instead of temp) double temp = theTemp; instead of
temp = theTemp; double temp = theTemp;getroom(room); or return(theTemp); ) 
#include on the header file#include on tempReading.cc instead of tempReading.ht again, but passing in temp and room. This won't compile, because you can't redefine t.t. in front of the function calls (member functions have to be invoked on an object using dot-notation, unless they are declared static.) x, but passing in temp and roomtemp and roomt instead of x, or leaving out x completely 
CCC variableCC or g++// define compiler#define compilerCCC as gcc instead of either CC or g++-o testTempReading or -o $@
Question 11 involved type expressions. Most students did well here—at the time I am writing this, I only have data for those students that put their section number on page 1 of their exam, but among those students, half scored an 18/20 or higher, and three-quarters scored a 14/20 (i.e. a C-) or higher. Therefore, I'm not going to go over this part in detail—the answers are online, and there are a large number of practice problems online as well.