I am making a program which includes comaring 2 numbers (int's) but later I want to call another windows function and it takes in CHAR not int. I need a way to convert my ints to char. I looked up this on internet and non if it worked. Do you know any functions to do that without too much owkr and confusion. Also a number has long variables and it would be best if each integer was converted to char, for example
int i = 4234;
char[4] = convert(i);
for(int z = 0; z < 4; z++) {
cout << char[z} << "\n"
}
So I want the output to be
4
2
3
4
I need the convert function.