??? 12/19/09 14:29 Read: times |
#171760 - '\0' Responding to: ???'s previous message |
Strings are zero-terminated, but that can be expressed in two ways. Either with just a zero, or with a backslash and a zero within single quotes. In this case, the backslash doesn't survive when posting code to this forum, so the source looks wrong. |
Topic | Author | Date |
Some help with copying strings in C (again) | 01/01/70 00:00 | |
Blast. | 01/01/70 00:00 | |
? | 01/01/70 00:00 | |
Crunched function | 01/01/70 00:00 | |
maybe | 01/01/70 00:00 | |
= vs == | 01/01/70 00:00 | |
ok | 01/01/70 00:00 | |
'\0' | 01/01/70 00:00 | |
just for record | 01/01/70 00:00 | |
Both are ok. | 01/01/70 00:00 | |
A warning - not an error | 01/01/70 00:00 | |
Yes. Should have said "warning" | 01/01/70 00:00 | |
but | 01/01/70 00:00 | |
Assign always spreads to the left, but mind the data type | 01/01/70 00:00 |