conversion string double or string to ascci
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
hai friends any body help me in my problem?i want to convert my string to double or to ascii?can any one give code for that?pls.. shan
Someone posted working string to double code before, then deleted the post, I guess they realised their question was non-existant. This code requires you to include cstdlib. char *stop = 0; char * testvar="123.4"; double x=strtod(testvar, &stop); What do you mean by string to ASCII ? Christian Graus - Microsoft MVP - C++