Hello,i’d like to ask what is the best way to store/read a lot of numbers (array) from resource? For settings i’m using pugi xml, but i can’t seem to find an easy and effective way to read an array with it. Thank you.
You can store you numbers as a comma-separated list in a string. To read them you need first read the string, then parse it e.g. using strtok and atoi/atof from C library.