In the c ++ program, data is generated that needs to be transferred to java. Data in the form of several objects class{ String name; int x, y, sx, sy; };
class{ String name; int x, y, sx, sy; };
You can request each value as a separate function, but this is not an option at all.
Is there a way to return an array to java, for example, in the form of a list of keys and values? Or in the form of a tree, where you can put all the necessary values at once. That is the question: how to return the values and use them with ease and simplicity.
UPD. Something like that. http://mikelsv.livejournal.com/8902.html . << This is the answer.