Thanks Hammer,
Had seen that info but will go through it again.
I was assuming the getline would not only discard the data after max characters reached as it says it will, but would also...
Type: Posts; User: twiz
Thanks Hammer,
Had seen that info but will go through it again.
I was assuming the getline would not only discard the data after max characters reached as it says it will, but would also...
Thanks i'll give it a go . . .
Hi, firstly why are the arrays so large? if the input is in the format given, 22 is enough for the name which includes one extra character for the null.
Try something like this . . .
...
Hi all,
I have checked in archives but can't find any helpful posts.
It seems that I can't stop any program when the number of maximum characters in getline is exceeded. Here is a test program ....