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.e xe
however, when I read the value by
sscanf(read_buf fer,"file:%s",S RecordFile);
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.e xe
however, when I read the value by
sscanf(read_buf fer,"file:%s",S RecordFile);
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
Comment