30.04.2013, 12:53
-_- Nice crap you have got stuck into!!!
Why do you need a new sscanf plugin to accept % specifiers when you have alternate better choice.Why not you change all your code to the new sscanf then the next release will also(most probably) work or once again you will come up asking for a new sscanf after the next release.
Solution:
You write a small interpreter which will search for %s inside a string and replace it with s
Can be done but with a big array or using VC++ string functions(it will size itself according to it so no problems or buffer overflow or so).
Why do you need a new sscanf plugin to accept % specifiers when you have alternate better choice.Why not you change all your code to the new sscanf then the next release will also(most probably) work or once again you will come up asking for a new sscanf after the next release.
Solution:
You write a small interpreter which will search for %s inside a string and replace it with s
Can be done but with a big array or using VC++ string functions(it will size itself according to it so no problems or buffer overflow or so).