How can I parse a double from a char or a string in C++?
How can I parse a double from a char or a string in C++?
Trinithis
Code:#include <cstdlib> // ... double dbl = strtod(cptr, NULL); dbl = strtod(str.c_str(), NULL);
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Bookmarks