C++/conversion of a char* to float?
I am a student of Computer Programming.I have to ask whether we convert a char* to float as we can float to char* with ftoa() function in C++ if not what will be the alternative way.
Thanks!i am waiting for your favour;
Hai dear M Usman Saleem !
In handy you have a built in function atof() to convert a char* to float , and using fcvt() to convert a float to char* , both functions available under stdlib.h header file!
Thanks and Regards !