/*
#include
unsigned long strtoul ( const char * restrict s , char ** restrict endptr ,
int base );
unsigned long long strtoull ( const char * restrict s , char ** restrict endptr ,
int base ); (C99)
*/
#include
#include
int main(void){
char *start, *end;
char a[100];
end = a;
start= "44.16.21.10";
printf("%d", strtoul(start, &end, 8));
return 0;
}