How can i convert char array to double ,i tried to typecast it but it gave error.
Code:
char tmp[12]=dfdfsdfsd;
double longt;
longt=(double)tmp;
Code:
errorC2440 typecast' : cannot convert from 'char[12]' to 'double'