21 printf(
"**********************\n");
22 printf(
"GRUPPENTABELLE:\n");
23 for (i=0; i< length_of_group_tabs; i++)
24 printf(
"%d %d \n", i, group_tab[i]);
26 printf(
"NON_GRUPPENTABELLE:\n");
27 for (i=0; i< length_of_group_tabs; i++)
28 printf(
"%d %d\n", i, non_group_tab[i]);
30 printf(
"**********************\n");
36 int *new_group_field =
new int[length_of_group_tabs];
37 int *new_non_group_field =
new int[length_of_group_tabs];
39 for (i=0; i< length_of_group_tabs; i++)
40 new_group_field[i] = group_tab[i];
43 for (i=0; i< length_of_group_tabs; i++)
44 new_non_group_field[i] = non_group_tab[i];
46 return new probe_tabs(new_group_field, new_non_group_field, length_of_group_tabs);
54 if (new_group_field) {
55 group_tab = new_group_field;
56 non_group_tab = new_non_group_field;
57 length_of_group_tabs = len_group;
61 group_tab =
new int[
length];
62 memset(group_tab, 0,
sizeof(
int)*length);
63 non_group_tab =
new int[
length];
64 memset(non_group_tab, 0,
sizeof(
int)*length);
65 length_of_group_tabs =
length;
71 delete [] non_group_tab;
probe_tabs(int *new_group_field=NULp, int *new_non_group_field=NULp, int len_group=0)