is it possible to copy a int to another int.
fx, in sprintf you copty a string to a buffer..
char buffer[80];
sprintf(buffer, "An approximation of Pi is %f\n", M_PI);
And the same goes for strcpy:
char *strcpy(char *dest, const char *src);
Can't it be done.
fx. if I have:
int x =10;
int buffer; /* here i like the number to go */
copy (buffer, "%d", x);
is this possible, but what kind of function is copy going to be??
tx..