I was just trying to see how to check for the null terminating character in the char * array but I failed. I can find the length using the for loop
Другие символы. NUL. Null. (No character- нет данных). Используется для передачи в случае отсутствия данных.
> char array[SIZE] = {0}; Nothing wrong with this. It just assumes that the remaining SIZE-1 elements are also zero, so that's it, job done.
Forum. General C++ Programming. remove \0 from char *.
char x = '0'; int y = '0'; char z = 48
[BCC32 Error] HDDSerial.cpp(49): E2034 Cannot convert 'wchar_t[256]' to 'char *' [BCC32 Error] HDDSerial.cpp(49): E2342 Type mismatch in parameter '__buffer' (wanted 'char *', got 'wchar_t *') [BCC32 Error]
1. Putting char into a java string for each N characters stackoverflow.com. I have a java string, which has a variable length.
У NULL слишком важное значение в теории баз данных чтобы его заменить на пустое
let say I have, char test[20]; can I do like this : *test = NULL; Where did you get that? Certainely not from a good C-book. 'test' being an array, it's a constant