Xcode entering input error help please
When i run Xcode 4.5.2 on Lion and i need to enter some input (ex. cin.getline(array,10)), i need to press enter two times to keep going.
Here is the code:
player1 and palindrom are arrays of char
and here is the output:
I enter Juan in player1 then i press [Enter] and i need to press another [Enter] if i want the prgram to continue
and when i enter the palindrom is not stored in the array, instead the second [Enter] is stored on the palindrom array.
Help please
i dont know what to do i have looked on the internet but i havent found anything to solve this problem......
Xcode 4.5.2-OTHER, Mac OS X (10.7.5), input error