+ 1

What is stod?

What is stod in c++?

10th Dec 2019, 3:46 PM
Majid
3 Answers
+ 5
It is used to convert string to double Learn more about it here👇 https://www.google.com/amp/s/www.geeksforgeeks.org/stdstod-stdstof-stdstold-c/amp/
10th Dec 2019, 3:56 PM
Arsenic
Arsenic - avatar
+ 3
stod does read strangely. The name is short for: STOD => String TO Double Which reveals it's a method for converting a string to a double float.
11th Dec 2019, 3:07 AM
David Carroll
David Carroll - avatar