c++.dos - vsscanf
- tjulian (4/4) Feb 17 2004 I noticed that V8.39 has added the vscanf functions, but they are
- Walter (4/6) Feb 17 2004 I didn't put them in, as it didn't seem like anyone was developing with ...
- tjulian (6/14) Feb 17 2004 Well, I am developing DOS/DOSX applications. Although the vscanf
- Walter (4/16) Feb 19 2004 It's good to know someone is! (And you can add vscanf by just compiling ...
- Gisle Vanem (19/22) Feb 20 2004 Speaking of ssanf/vscanf, this little program doesn't print
I noticed that V8.39 has added the vscanf functions, but they are missing from the DOS libraries. Will they be added? -- TimJ
Feb 17 2004
"tjulian" <tjulian removethis.oldi.com> wrote in message news:c0th75$131u$1 digitaldaemon.com...I noticed that V8.39 has added the vscanf functions, but they are missing from the DOS libraries. Will they be added?I didn't put them in, as it didn't seem like anyone was developing with DOS anymore, but was just using it to compile old code.
Feb 17 2004
Walter wrote:"tjulian" <tjulian removethis.oldi.com> wrote in message news:c0th75$131u$1 digitaldaemon.com...Well, I am developing DOS/DOSX applications. Although the vscanf functions are not critical for me, I always hope DMC continues to keep the DOS compiler updated to the latest standards. -- TimJI noticed that V8.39 has added the vscanf functions, but they are missing from the DOS libraries. Will they be added?I didn't put them in, as it didn't seem like anyone was developing with DOS anymore, but was just using it to compile old code.
Feb 17 2004
"tjulian" <tjulian removethis.oldi.com> wrote in message news:c0ttro$1ofg$1 digitaldaemon.com...Walter wrote:It's good to know someone is! (And you can add vscanf by just compiling the source for it on the CD and inserting it into the library.)"tjulian" <tjulian removethis.oldi.com> wrote in message news:c0th75$131u$1 digitaldaemon.com...Well, I am developing DOS/DOSX applications. Although the vscanf functions are not critical for me, I always hope DMC continues to keep the DOS compiler updated to the latest standards.I noticed that V8.39 has added the vscanf functions, but they are missing from the DOS libraries. Will they be added?I didn't put them in, as it didn't seem like anyone was developing with DOS anymore, but was just using it to compile old code.
Feb 19 2004
"Walter" <walter digitalmars.com> wrote:It's good to know someone is! (And you can add vscanf by just compiling the source for it on the CD and inserting it into the library.)Speaking of ssanf/vscanf, this little program doesn't print *anything*. #include <stdio.h> #include <stdlib.h> int main (void) { char host[512], path[256]; sscanf ("some.host.com/foo/bar", "%512[^\n/?]%[^\n]", host, path); printf ("host `%s', path `%s'\n", host, path); return (0); } -------- It seems to parse beyond the input string or exit inside sscanf(). sscanf ("some.host.com/foo/bar\n"..) works as expexted, but why should the '\n' be required?dmc scanf.clink scanf,,,user32+kernel32/noi; with DMC 8.39 --gv
Feb 20 2004