Cast a pointer to char to a double C++
<p>How can i cast a pointer to char to a double ?<br>
I am using command line arguments and one of the argument is a double but in the program is it passed as a char*.<br>
I tried using static_cast and reinterpret_cast but with no effect.</p>
