[an error occurred while processing this directive]
|
ПОПАРНОЕ СРАВНЕНИЕ МАССИВВОВ (фрагмент)
----------------------------------------
// Вариант1: работает неправильною.....................
while (cntByte!=SIZE){
if(dataHex[cntByte]!=buf[cntByte++]) goto ERRORS;
if(dataHex[cntByte]!=buf[cntByte++]) goto ERRORS;
}// Вариант2: работает правильно........................
while (cntByte!=SIZE){
if(dataHex[cntByte]!=buf[cntByte]) goto ERRORS;
cntByte++;
if(dataHex[cntByte]!=buf[cntByte]) goto ERRORS;
cntByte++;
}
Составить ответ ||| Конференция ||| Архив
Ответы