-
Help with Xcode
I'm currently working on a project that simply converts a DMX value to a 100% value.
I have all the code I need and it works properly, but when i try to run it in xcode, it only shows the first number I type. I can type something larger or more than 1 character and it will still affect it the same, but it doesn't show up until the program outputs the converted result.
If I run it in Terminal it works perfect, the issue is only in xcode.
Any suggestions?
Thanks
-
Could be a buffering issue - I've had a similar one with KDevelop. Try flushing your output stream after each write and see if that helps.
-
that didn't work. on "cin" i can type any number i want, but only the first character shows up.
it's really annoying.