0

I'm writing a GUI for a C++ backend, and the backend at some point requires a string containing a format specifier. The java frontend needs to replicate the behaviour of the backend by reading in numerical values using the same format specifier string. I'm just wondering if anyone has solved this problem. 1hr of google searches so far hasn't revealed any easy answers, and it's increasingly looking probable that I'll have to write my own custom code to handle this...

Thanks.

12
  • What's your format specifier string? Commented Apr 8, 2014 at 16:41
  • Any - the user of my GUI will specify the ...um... specifier. Commented Apr 8, 2014 at 16:43
  • It would be very helpful to provide an example, the expected/desired output, and errors you are receiving. Commented Apr 8, 2014 at 16:44
  • Is it an option to just expose the C++ formatting code to the gui code? IMO, it'd be ideal to not replicate logic between front and back ends. Commented Apr 8, 2014 at 16:47
  • @C.B. I haven't written anything yet - I want to avoid having to do something which someone else has already solved. Commented Apr 8, 2014 at 16:52

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.