The function you are looking for is called "sprintf".
Use it just like you would use printf to print a float. The trick is that it throws it into a string, rather than at the console.
Code:
char * buffer = new char[10];
float f = 12.4;
sprintf(buffer,"%f",f);
I think... I don't have a C compiler in front of me.