I'm trying to read in a string that I'm throwing into a char buff[100]....

but I need the spaces .... so when I enter "this life"...it only takes "this"...

I tried to use
Code:
cin.getline(buff, 100)
but that didn't work

I also tried to use
Code:
 getline(cin, buff)
with no third parameter for delimiters cause I don't need any...but that just throw errors all over the place so I'm not so sure what I should use and why cin sucks so bad!! Or maybe I just suck and cin is ok.....Any help would be appreciated