libraries - Parsing ASCII in raw memory in C -
my goal parse potentially garbled ascii data containing text , numbers. far i've been doing fine getting pointer numbers within text strcmp
, hard-coded pointer arithmetic , converting them strtol
, feel there must better way.
is there function effect of scanf
takes pointer memory instead of input stream?
you'll wanting sscanf
. note expect null-terminated string.
Comments
Post a Comment