Hi guys.
Sorry for the strange thread title but it best described what I'm about to ask.
I was brushing up on my Objective-C (again) and spent a good while ripping my hair out over a super simple exercise and why it wasn't working/causing xcode to do strange things.
Here, after using a command line program with scanf, I found that if I press the enter key on the number pad, my program would not process the scanf command.
If I pressed enter by my pinky (the one right below the "\" key), no problem. The program executed as normal.
Anyone know why this is? Is there a preference in xcode I can change that says to treat these two keys the same?
I usually program on windows so I don't know if this is an underlying unix thing or not : /
Sorry for the strange thread title but it best described what I'm about to ask.
I was brushing up on my Objective-C (again) and spent a good while ripping my hair out over a super simple exercise and why it wasn't working/causing xcode to do strange things.
Here, after using a command line program with scanf, I found that if I press the enter key on the number pad, my program would not process the scanf command.
If I pressed enter by my pinky (the one right below the "\" key), no problem. The program executed as normal.
Anyone know why this is? Is there a preference in xcode I can change that says to treat these two keys the same?
I usually program on windows so I don't know if this is an underlying unix thing or not : /