py.user <[email protected]> added the comment:
#include <stdio.h>
int main(void)
{
unsigned n;
scanf("%x", &n);
printf("%u\n", n);
return 0;
}
[guest@localhost c]$ .ansi t.c -o t
[guest@localhost c]$ ./t
0xa
10
[guest@localhost c]$ ./t
a
10
[guest@localhost c]$
[guest@localhost c]$ alias .ansi
alias .ansi='gcc -ansi -pedantic -Wall'
[guest@localhost c]$
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14519>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com