Hello all,
I need to create a structure with some attributes associated with it:
struct SNode {
float PrimSet [n];
int size;
float value;
};
The only problem is the size of the array (i.e. n) is variable and it can be any number below 100, which is unknown before running the code.
I tried using dynamic arrays, but I'm not sure how.
I appreciate any help.
Cheers