On Monday, 23 January 2017 00:44:24 UTC+2, Mike Copeland wrote:
> Is there a simple and efficient way to read and store data that looks
> like the following?
>
> 123a2345a34b812a2467c1717b2626c2983b3291a8a14c28c
Who knows. It looks like binary data in hexadecimal representation
of bytes however there is curious single c at end.
12 3a 23 45 a3 4b 81 2a 24 67 c1 71 7b 26 26 c2 98 3b 32 91
a8 a1 4c 28 c
If it is that then it is among most trivial things.
>
> That is, I have a variable number of lines of text data where each
> line is comprised of "sets" of integer and character data items. Is
> there a technique (such as the "for (int num; ss >> num;)" technique
> with an istringstream) that can process a variable number of such data
> sets as I have described? TIA
Your description of it sounds way different than what you example
looks like.