ARGC/ARGV strangeness

Rick Delaney rick-h4KjNK7Mzas at public.gmane.org
Tue Sep 20 02:59:58 UTC 2005


On Mon, Sep 19, 2005 at 10:46:35PM -0400, Steven Woon wrote:
> Try this:
> 
>          num = strtol(argv[count],0,10);  // Need extra parameters here

Or

    num = atol(argv[count]);

-- 
Rick Delaney
rick-h4KjNK7Mzas at public.gmane.org
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list