I
Ivan Lam
Hi All,
Thanks for reading my post!
I have a problem that using the scanf function. I would like to scan a
value from a line like:
file:c:\program files\mpd\mpd.exe
however, when I read the value by
sscanf(read_buffer,"file:%s",SRecordFile);
I only get "c:\program", I know this is caused by %s only input
non-whitespace characters. How can I get around it?
Thanks for your help!
Ivan
Thanks for reading my post!
I have a problem that using the scanf function. I would like to scan a
value from a line like:
file:c:\program files\mpd\mpd.exe
however, when I read the value by
sscanf(read_buffer,"file:%s",SRecordFile);
I only get "c:\program", I know this is caused by %s only input
non-whitespace characters. How can I get around it?
Thanks for your help!
Ivan