I have read topics about cin and how it works but I do not understand. By the way what is &ostream? I am a beginner so please nothing to advanced.
h30097.www3.hp.com/cplus/iostream.pdf
Sorry, but there's no simple way. Kudos to you if you understand all of it, I sure as hell don't :/