1
C4018 ('expression' : signed/unsigned mismatch)和C4389 ('operator' : signed/unsigned mismatch)警告有什麼區別?警告C4018('expression':signed/unsigned mismatch)和C4389('operator':signed/unsigned mismatch)之間的區別是什麼
unsigned int uc = 0;
int c = 0;
if (uc < c) uc = 0; // C4018
VS
int a = 9;
unsigned int b = 10;
if (a == b) // C4389
我只是不明白這一點。