On Sunday, 8 February 2015 at 00:47:46 UTC, Ali Çehreli wrote:
On 02/07/2015 04:42 PM, Ali Çehreli wrote:
> > readf(" %s\n", &firstName);
> I see that readf reads the first line of entry *after* I press
> two Enters on the console.
OK, that is related to the '\n' character that you have in the
format string. Also, repeating the space characters has no
effect as a single space means "zero or more white space"
anyway.
Ali
Thankyou, I think it was encoded to be some other character
instead of a space. Once I removed the space and re-added it to
the string, things seem to work.
I am reading your book. It is a great book for newbies. Thanks a
lot for the effort.