On Wed, 16 Apr 2014 18:17:37 +0000, Capture_A_Lag wrote:

> Thank you everybody!!!
> I thought %d is ok for all integral types.

This is true when using the D format functions (e.g. readf) which are 
able to inspect the types of the variables being assigned, but scanf is a 
C function and not typesafe.

Justin

Reply via email to