You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
C strings are null-terminated, or contain a '\0' character to signify the end of a string. Implementations of string functions generally look for the null character to determine a string's length.
I'm not certain why langcraft doesn't do this. Could langcraft determine the end of a string with '\0'?
The text was updated successfully, but these errors were encountered:
Unlike implementations of string functions like
strlen(const char*)
, some langcraft built-in functions require a length parameter. For example:C strings are null-terminated, or contain a
'\0'
character to signify the end of a string. Implementations of string functions generally look for the null character to determine a string's length.I'm not certain why langcraft doesn't do this. Could langcraft determine the end of a string with
'\0'
?The text was updated successfully, but these errors were encountered: