Input error with readf()

Paul via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Jan 30 07:40:32 PST 2015


On Friday, 30 January 2015 at 15:03:55 UTC, Ali Çehreli wrote:

> Not the best error message... Saying '5' is unexpected for 
> 'int' is confusing, right? Unfortunately, I can't come up with 
> a good explanation for that error message in the book. :)

Maybe just remove the section with the 'incorrect' syntax? The 
reader will have to take it as read that " %s" is the correct 
form  :D



More information about the Digitalmars-d-learn mailing list