Reading into a char *, I can't seem to read in the white space charictor, but it reads untill the EOF... There is what I have...
char ch;
while( !sin.eof() )
{
sin >> ch;
message.push_back(ch);
}
I was thinkinf of perhaps doing a getline, but that would cost me time copying into the vector. Also, '\n' has to be differnt that ' '.
char ch;
while( !sin.eof() )
{
sin >> ch;
message.push_back(ch);
}
I was thinkinf of perhaps doing a getline, but that would cost me time copying into the vector. Also, '\n' has to be differnt that ' '.