For example.
If I had an int of 65, how do I change it so that it turns into a A.
Or an int of 118 to v?
Anyone knows how to do this?
Thanks in advance
For example.
If I had an int of 65, how do I change it so that it turns into a A.
Or an int of 118 to v?
Anyone knows how to do this?
Thanks in advance
Actually it's the same value in C.
Let try: printf("%c",65);
And printf("%d", 'A');
How can i put a INT value to a character array?
So what I want is:
char ASCII_CODE[] <--- 65
So for example:
int hello1 = 0;
char hello2[5];
hello2 = hello1;
will this work?
You can put ASCII_CODE[i]=65;
Ensure it's within the bounds of the ascii table, and ta-da! You've done it.