how would you get an integer into a string ?
For example
It has got to be done this way. I cannot get away from it at all. Any help would be appreciated.Code:int main() { int temp,temp2; char string[20]; printf("please enter an integer\n"); scanf("%d",&temp); temp2=temp; string=temp2; /* Here's my problem */ }