what is the usage of binary mode in fileio,,,does it make the storeage of data in files easier to organise, if so how do you input strings into a buffer while in binary mode, see below

Code:
cout<<"please enter write a sentence > ";
// cin>> buffer[100]; doesn't work properly it only puts the first   

//word in the buffer
//and cin.getline doesn't work in binary mode?
//what can you use or do to get around this
cheers