TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ROGER SCUDDER
from: PHIL OHL
date: 1998-03-25 20:32:00
subject: Re: I`m an idiot

-> 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)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.