Re:C String Creation
by jhallenworld on Thursday February 11, 2016 @11:18PM
(#11085269)
Well you are right, but these functions are not terribly fun to use. Consider a parsing function which extracts an identifier. For ASCII it's:
To use UTF-8 / Unicode should require only small changes:
For efficiency, don't decode twice- have the decoder return a pointer to the next sequence:
Also should be able to match a string in line:
[ Parent
| on HN ]
There are no comments on this comment yet.