K
kathy
I can not find something like atof() which can convert string to
double.
Can anyone help me?
double.
Can anyone help me?
kathy said:I can not find something like atof() which can convert string to
double.
Can anyone help me?
kathy said:I can not find something like atof() which can convert string to
double.
Can anyone help me?
kathy said:I can not find something like atof() which can convert string to
double.
Can anyone help me?
kathy said:The following failed:
istringstream instr;
double val[2];
instr.str(str1);
instr >> val[0];
instr.str(str2);
instr >> val[1]; // Fixed as in your followup
why?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.