Google Code Jam - reverse words
You report errors if any of the files fails to open, but continue execution anyway.  If either of them fails to open, you should also return EXIT_FAILURE.  In addition, you should be writing the errors to cerr instead of cout.

On those same output lines, you're indenting by just one space, but you indent by four spaces everywhere else.  You should try to keep the spacing consistent.
Don't cram lines like this:


oufile&lt;&lt;"Case #"&lt;&lt;x&lt;&lt;": "&lt;&lt;all&lt;&lt;std::endl;



Add more whitespace between operators for readability:

oufile &lt;&lt; "Case #" &lt;&lt; x &lt;&lt; ": " &lt;&lt; all &lt;&lt; std::endl;


Be sure to do this everywhere, not just with this line.
You don't need to close files yourself, unless you're needing to check for errors.  Since you're not, you can just remove these function calls.
Since count_wrd is incremented with each call to hold.push_back(), you can just use hold.size() in place of count_wrd.  You could also rename this vector to words.
This doesn't need to be two separate lines:


rvrs += hold[i];
rvrs += " ";



It can just be one:

rvrs += hold[i] + " ";