Hacker News
new
past
comments
ask
show
jobs
points
by
groundzeros2015
9 hours ago
|
comments
by
rcxdude
9 hours ago
|
next
[-]
Which isn't very good for substrings due to the null-termination requirement.
reply
by
kccqzy
9 hours ago
|
prev
|
next
[-]
And the type system does not tell you if you need to call free on this char* when you’re done with it.
reply
by
pjc50
9 hours ago
|
prev
|
[-]
In C you
only
have char*.
reply
by
tosti
4 hours ago
|
parent
|
[-]
wchar exists.
(And the possibility to implement whatever you want, ofc.)
reply