-=> Quoting Tom Torfs to Wade Carpenter <=-
TT> Don't use gets, use fgets instead - it allows you to define a maximum
TT> string length (but you'll have to strip the newline yourself).
TT> Make sure your string is properly defined:
TT>
TT> or something with new s[] or whatever, but you'll have to ask someone
TT> who programs in C++ for the details :-)
Ok. cool. Thanks for your time. Before now, I never knew the value in
defining string lengths. TTYL
... How do you make Windows faster ? Throw it harder
---
---------------
* Origin: Alley Drive Software, Maple Ridge BC - 604-463-1776 (1:153/265)
|