-> I feel your pain. Man, it would drive me nuts having to read all
-> these posts from guys who keep telling people to use crappy C
-> functions when they should be using the C++ iostreams.
->
-> Wouldn't a good way to handle the above be to use the sizeof
-> operator?
-> cin.getline( name, sizeof( name ));
->
->
-> -Roger
cin.getline(name, sizeof(name));
This is eventually how I handled the problem. It works quite nicely.
But Yeah I did see some wierd code from people after that post. And the
strange thing is that it was a very simple question, and now that i look
back it had a very simple answer.
Go figure,
Phil
--- ViaMAIL!/WC4 v1.30
---------------
* Origin: A Mind Forever Voyaging * (806)794-3778 * Lubbock,TX (1:3804/180)
|