If I have
sscanf("FL:%s:% d:%s\n", lGuid, &lID, lFileName);
and the last string contains spaces, e.g. my complete string
"FL:1234ABCD:3: FileName With Spaces.txt\n"
does sscanf just make lFileName the string up to the whitespace? even though
I tell it the end of string as at the \n ?
Thanks
Allan
sscanf("FL:%s:% d:%s\n", lGuid, &lID, lFileName);
and the last string contains spaces, e.g. my complete string
"FL:1234ABCD:3: FileName With Spaces.txt\n"
does sscanf just make lFileName the string up to the whitespace? even though
I tell it the end of string as at the \n ?
Thanks
Allan
Comment