Martin Gainty on 14/03/11 11:25, wrote:
this is a bit OT but it's the weekend and I have a question which I am
desperate to answer and my googling skills are no match for it.

Does anyone know where I can get a Java implementation of scanf?
Does java.text.MessageFormat.parse() perhaps meet at least some of your
needs?
This might actually be a quicker way to do exactly what I need to do now, I mean quicker than Scanner. Thanks for the great tip.

However it has 2 drawbacks in comparison with C's scanf - it doesn't take the same symbols and formatting in its pattern as printf, and it can't handle multiple occurrences of the same variable in the pattern.

MG>Another great solution!
MG>does anyone know how to get scanf source from either Sun Microsystems or 
*cough* microsoft so we can refactor scanf to java?


scanf source from Sun or Microsoft? Don't you mean GNU or some other open source C implementation?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to