I am using xCode on mac os x 10.5.4. I used gets() for a certain code but it's not working on the built-in console of xCode named gdb and it also showing an warning message like this 'warning: this program uses gets(), which is unsafe'. But it works fine when I run it into the terminal window though the warning is still there.
can anyone please tell me how do I resolve this problem?
Is there any IDE for c++ with compiler(if it does not share from xCode or gcc whatever is installed) or without compiler(if it does) for mac os x 10.5.4 which is as simple as Microsoft Visual C++(as I am familiar with that)?