"Malcolm" <ma*****@55bank.freeserve.co.uk> wrote in message
news:cn**********@newsg4.svr.pol.co.uk...
"Ray Mitchell" <Ra*********@MeanOldTeacher.com> wrote I realize that the source code for vsscanf is available from several
sources, such as GNU. However, all such source code I've found so far is
filled with cryptic (to me) #ifdefs, system stuff, and basically all
kinds
of general things related to a particular implementation.
I'm looking for a simple concise generic C99 version that I can easily
adapt into my application without having to look all over the place for a
seemingly
unending litany of cryptic "helper" functions. I'm sure I could write my
own
version but I'd rather not go through the pain if I can avoid it.
Plauger, "The Standard C Library". Mr Plauger occasionally contributes to
this ng, so if he's reading this I'm sure he'll be happy to give you more
information.
Thanks Malcom. But I did purchase the source code for the generic standard
C and C++ libraries from Dinkumware several years ago. While I'm sure it is
very good software it still is very complex with lots of hooks and
conditionals for various implementations. As such, I've never been able to
build any library from it, but I'm sure that's due to my own ineptitude. I
have also attempted to extract the vsscanf code on several occasions but
have given up each time. The simplest approach may be to simply write a
dedicated vsscanf myself, since I obviously need the practice anyway!
Ray