--- In [email protected], kou ksk <kou...@...> wrote:
> 
> guys .. how can u forget
>  
> sscanf(string,"%d", &intvar);
> this is the simplest ... 

Yes, and the behaviour is undefined if 'string' contains a
number out of range for an int.

-- 
Peter

Reply via email to