От: | Adriano | ||
Дата: | 26.12.07 14:13 | ||
Оценка: |
{
char x = 0xFF;//-1
char y = 10;//10
if ( x < y ) {
cout << "x < y" << endl;
}
}
{
unsigned char x = 0xFF;//255
unsigned char y = 10;//10
if ( y < x ) {
cout << "y < x" << endl;
}
}
return 0;