×

Loading...

Thanks lusi, This problem is done by using strtoul() function instead of atol(),

bluewave (AlwaysStudent)
(#369085@0)
2002-2-14 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: Please help C questions- convert array to unsigned long: I have an array b[0] ='1'; ..b[6]='7'; b[7]=0; I want convert to unsigned long usl; usl = atol(buffer); there is no problem, but ...

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT杂谈