how do I use cin.getline()
Posted on 2004-04-13
Its for a win32 app thingy...
so basicly I want to use cin.getline()
to get the whole line...then it will split it..
I want to be able to get hello and world in a sperate string each..I could use cin >>
but thats not part of the assignment..
so basicly I want to use getline() and then somehow split the one big char or whatever into two strings...I don't know how to do it exactly, but I appreciate any help.