|
|
but if I instead isalnum() of isdigit(), problem is still there. |
//input data.txt Standard digital inputs status, 4064 DO 3210 N/A R 0 0 1 DP V-F-S-B Standard digital outputs status, from 0 to 3 4057 DIX BA9876543210 N/A R 0 0 1 DP V-F-S-B Expanded digital inputs status, from 0 to 11; 3100 DC link voltage [V] R 0.00 0.00 0.00 PV V-F-S-B Drive DC link voltage 3110 Magnetizing curr [A] R 0.00 0.00 0.00 PV V-F-S-B |
|
|
//data1.txt 4064 DO 3210 N/A R 0 0 1 DP V-F-S-B 4057 DIX BA9876543210 N/A R 0 0 1 DP V-F-S-B 3100 DC link voltage [V] R 0.00 0.00 0.00 PV V-F-S-B 3110 Magnetizing curr [A] R 0.00 0.00 0.00 PV V-F-S-B |
#include <string>
, so I guess its better to include it in case OP uses MS VC++ 2010, but like you said, it doesn't do any harm :)
|
|
|
|