I am trying to parse a game's logfile, and I stumbled across a problem.
The problem is that I can't seem to be able to parse the following string:
%v got too close to %k's grenade.
Once read the value of k will be "%k's" rather than just "%k".Code:
sscanf("%v got too close to %k's grenade.","%s got too close to %s's grenade.",v,k);
Another problem is that either %k or %v can be more than one word, but I would be happy enough if I fix the first problem.
I hope somebody knows a solution to my problem
Thanks in advance,