   [C++] Writing to a New Wide Stream
    By a mistake in my code, it created a new wide stream and wrote a short to it without specifying anything about the stream. I'm curious as to what happens exactly. What would this do? Where would the data go?   
  Depends on the stream. If it's a file stream, the write just fails (check stream.fail()). If it's a string stream, the data will be stored in the string stream's buffer.   ;  Okay, thanks.   