I have a dynamic integer vector. For example:
1 2 4 6 8 9 10
I want to attach it to a string, like this, for example:
[B]:
And write this to a file line, then read the file with the following output, for example, assuming the program was run three times:
[B]: 1 2 4 6 8 9 10
[B]: 4 5 6 7 8
[B]: 3 6 7
I've been searching, but I have not been able to figure out how to do it, so I do not have any code that's in the way of doing that.
Can anyone give me one way to do this? If you have a command, a demonstration, or whatever.