Home > Back-end >  C read file
C read file

Time:09-18

Why use c_str () and substr () function cannot be 0.990147236735 D - 04 read into 0.990147236735 e-4?

CodePudding user response:

Didn't quite understand ~ ~ ~ is a simple string processing, replace??

CodePudding user response:

Problem more clearly, don't look at the code directly,

CodePudding user response:

reference 1st floor hongss response:
didn't quite understand ~ ~ ~ is a simple string processing, replace??

Is 0.990147236735 D - 04 reading was 0.99014723673504, and the actual should be 0.990147236735 e-04

CodePudding user response:

refer to the second floor cooh55 response:
problem more clearly, or look at the code directly,

Is 0.990147236735 D - 04 reading was 0.99014723673504, and the actual should be 0.990147236735 e-04
  • Related