4 ms·
With all due respect - how do you write a string library in C then? Char* is not one.
by kaba0 5y ago
With all due respect - how do you write a string library in C then? Char* is not one.
- moralestapia 5y agoAn appropriate data type (you could use structs maybe) and methods for the common operations, concat, length, etc... It's not as trivial "string s" like in other languages, but it's also not that big of a deal. Also, you make sure it works properly and you just use it anywhere you want.