Charles Miller (@Mr68360)
Are you seeing "ER_CMD#a01" + 0, or "ER_CMD#a010"? The latter includes the zero character at the end, not an asciiz (aka NUL, aka terminator, aka '\0')!The terminator...
In C, a string literal has an implied terminator. char s[] = "abc" has a string length of 3, a memory buffer length of 4, and appears in memory as'a', 'b', 'c',...
Use this form to contact Mr68360
Before you can contact a member of the *Related Sites:
- You must be logged in (register here)
- You must confirm you email address