I bet this question has come up more then once, I searched but I didn't find any thing that worked?
how to convert an int to a char[]
so how do I do it?Code:int a = 10; char buf[100]; buf = (char)a; // wont work... char *buf2; buf2 = (char *)a; // wont work either