Endf in C++

from #454
inconsistent brace spacing in the above block.  eg `}else if (mf == 8) {` should be `} else if (mf == 8) {`