String to Octal
- From: fuch6921@xxxxxxxxxxxxx
- Date: 20 Feb 2006 20:32:38 -0800
I want to read in an Octal number argument and have it stored as an
octal number. For instance the user will type: ./a.out 777 and it
will store the octal number 777. But it atoi does this as an interger,
and sscanf gives me 0.
.
- Follow-Ups:
- Re: String to Octal
- From: Emmanuel Delahaye
- Re: String to Octal
- From: Martin Ambuhl
- Re: String to Octal
- From: Ben Pfaff
- Re: String to Octal
- From: Walter Roberson
- Re: String to Octal
- Prev by Date: Re: Question to malloc
- Next by Date: Re: Variable length arrays Q
- Previous by thread: Weird realloc() error
- Next by thread: Re: String to Octal
- Index(es):
Relevant Pages
|