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
9 Tips and Tricks
str_key_eq returns a bool, but does return strcmp(..., ...);
This is wrong, because strcmp does not return 1 if equal and 0 if different. It returns 1, 0 or -1 depending on how they differ.
Please don't write incorrect code in the "tips or tricks" section.
The text was updated successfully, but these errors were encountered:
9 Tips and Tricks
str_key_eq returns a bool, but does return strcmp(..., ...);
This is wrong, because strcmp does not return 1 if equal and 0 if different. It returns 1, 0 or -1 depending on how they differ.
Please don't write incorrect code in the "tips or tricks" section.
The text was updated successfully, but these errors were encountered: