kcombinations.h (631B)
1 #ifndef COMBINATIONS_H 2 #define COMBINATIONS_H 3 4 #include <stdio.h> 5 #include <stdlib.h> 6 #include <stdbool.h> 7 8 #include "arrhandler.h" 9 #include "ccolors.h" 10 11 void x_pair(int *, int *); 12 void y_pair(int *, int *); 13 14 void print_combs(int *, int, int, int, int, int, int); 15 void combinations(int *, int *, int *, int, int, int, int, int, int *, int *, int *, int, int, int, int); 16 17 bool even_calc(int *, int, int, int); 18 bool sum_comb_calc(int *, int, int, int); 19 20 void frequency(int *, int *, int *, int, int); 21 long int combinations_count(int, int); 22 long double factorial(int); 23 void print_other(int, int, int, int, int, int *, int *); 24 25 #endif