I'm having one problem with the getch() function. Let's say I do something like this..
The character that I press when getch() comes up will be put onto the screen when I go to input the name array. For example, let's say when getch() comes up, I press "a". Now the the next line would read this: Enter Name: aCode:short a = getch(); //need the value! char* name; cout << "Enter Name: "; cin >> name;
is there a way to fix this? if you want to see exactly what i mean, download the file and run the .exe
if you want to see the source code, i'm using dev 220.127.116.11 But just open the .exe