PDA

View Full Version : How to Read and Write .asc file in qt cpp



RajenderReddyPatlolla
19th February 2019, 14:23
Hello ,

Below are my data in .asc file as

0.004280 1 510 Rx d 8 38 01 00 08 13 16 17 06 Length = 239910 BitCount = 124 ID = 1794

So, my question is how to Read and write above data into separate byte to byte i.e. from Byte#0 to Byte#7.




Thanks.

anda_skoa
19th February 2019, 15:06
QFile for the file access, QTextStream for reading lines, QString API or QRegularExpression for parsing the numbers.

Cheers,
_