Basically: How do I sort the structure here:
struct prob {
int num1[400];
int num2[400];
double pro[400];
};
according to the values in 'pro'... while keeping pro[x] related to num1[x] and num2[x]...
num1[x] is a number that corresponds to something specific
num2[x] is a number as well in the same way
prob[x] corresponds to the probability of behavior 1 (num2) and behavior 2 (num2) occuring...
Any ideas??
struct prob {
int num1[400];
int num2[400];
double pro[400];
};
according to the values in 'pro'... while keeping pro[x] related to num1[x] and num2[x]...
num1[x] is a number that corresponds to something specific
num2[x] is a number as well in the same way
prob[x] corresponds to the probability of behavior 1 (num2) and behavior 2 (num2) occuring...
Any ideas??
Comment