N
newby2c
RoSsIaCrIiLoIA said:Here in windows xp <ctrl-z>==EOF so if I push some chars <ctrl-z> and
'\n' the prog print the correnct number of char (less the last '\n').
I think you could resolve your problem if you write in the code
printf("%ld\n\n", nc); /* note \n\n */
and use <ctrl-z> for end.
Thanks R...,
I just tried that. Still no good. Damn this is frustrating.
newby2c