Re: [Dev-C++] numeric constant contains digits beyond the radix
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Clovis S. <cs...@it...> - 2002-01-11 17:56:22
|
asnswering myself:
a search at google, and I found this from gcc mailling lists :
<snip>
This is not a bug, a number in C prefix with 0 is in base 8 not base 10,
can someone close this bug?
<snip>
so it is just removing the 0 from 08, and it compiles ok. Just dont
understand why with other mumbers like 02, 05, 06 and 07 ( see bellow ) we
do not have this problem.
gotoxy(10,05);
textcolor(WHITE);
textbackground(BLUE);
printf("1 - Calculadora:");
gotoxy(10,06);
printf("2 - Backup" );
gotoxy(10,07);
printf("3 - Restaura Backup");
gotoxy(10,8);
printf("4 - Importa Dados");
thanks.
Clovis.
At 14:59 11/01/02 -0200, Clovis Sena wrote:
>hi all
>
>
>does anyone knows why I got this error:
>
>gotoxy(10,08);
>printf("4 - Cartao (S/N) : N");
>gotoxy(10,09);
>printf("5 - TEF - Transferencia Eletronica de Fundos (S/N) : N");
>
>compile error:
>
>637 teste8.1.cpp
> numeric constant contains digits beyond the radix
>
>if iI change the above lines to gotoxy(10,10); it works ok. It seems that
>could not printf to line 08 and 09.
>
>
>
>-------------------------------------------------
>Clovis Sena
>Itautec.Com Servicos
>Suporte Tecnico Software/Hardware
>---------------
>Email: cs...@it...
>Fone : 0xx81-3421-1126
>Fax : 0xx81-3421-4988
>-------------------------------------------------
>
>
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
-------------------------------------------------
Clovis Sena
Itautec.Com Servicos
Suporte Tecnico Software/Hardware
---------------
Email: cs...@it...
Fone : 0xx81-3421-1126
Fax : 0xx81-3421-4988
-------------------------------------------------
|