which way is the better way ?
i get this error with this line
34 C:\.....cpp [Warning] NULL used in arithmetic
it still compiles but just gets stuck doing nothing. wouldCode:while(line[buf] != NULL){ cout << line[buf]; buf++; }
be better ? or something else ? thank you.Code:while(line[buf] != "" ){ cout << line[buf]; buf++; } or while(line[buf] != 0 ){ cout << line[buf]; buf++; }