why it gives me character eventhough getch() will return integer
Write your question here.
using namespace std;
A char is a number. char only ever contains a number. The only difference is in what you do with it. You are passing a number to cout, telling it that the number is a char.
crystal clear...thanks repeater...you make my day
Topic archived. No new replies allowed.