I've been using XCode 1.5 to teach myself some simple C++ through the command line utility there. My old laptop had some issues, so I ended up upgrading to a new Intel Mac and installed XCode 3.0. I've found that the XCode 3.0 no longer uses a separate window for the debugging (gcc) console and the command line I/O - it supposedly uses the debugger console window for both, passing input to the console when paused and to the program when running.
However, I've written a couple of simple programs on the new XCode, and while the window displays all of the output correctly, I can't seem to add any inputs (through cin). When the program prompts me for an input, I type a number and hit return, but the cursor simply jumps to the next line. It doesn't appear to be passing the number through to gcc as a debug prompt, and when I run the program through the debugger, the variable inspector indicates that the number isn't getting through to the variable in the first place.
I've looked through most of the preferences, tried switching between Release and Debug builds, and I'm not finding any reason that it won't be accepting the user input. Is there something else that I'm missing?
However, I've written a couple of simple programs on the new XCode, and while the window displays all of the output correctly, I can't seem to add any inputs (through cin). When the program prompts me for an input, I type a number and hit return, but the cursor simply jumps to the next line. It doesn't appear to be passing the number through to gcc as a debug prompt, and when I run the program through the debugger, the variable inspector indicates that the number isn't getting through to the variable in the first place.
I've looked through most of the preferences, tried switching between Release and Debug builds, and I'm not finding any reason that it won't be accepting the user input. Is there something else that I'm missing?