00001 #ifndef MYLIB_H_INCLUDED
00002 #define MYLIB_H_INCLUDED
00003
00004 #include <stdio.h>
00005 #include <stdlib.h>
00006 #include <string.h>
00007
00008 #define RSA_HEX 1
00009
00010
00011 extern const int matrix_N;
00012 extern const int matrix_M;
00013
00014 extern void WyswietlMacierz(int n, int m, double a[][matrix_M]);
00015 extern void ZapisMacierzy(char *NazwaPliku, int n, int m, double a[][matrix_M]);
00016 extern void OdczytMacierzy(char *NazwaPliku, int *n, int *m, double a[][matrix_M]);
00017
00018
00019 struct TLst
00020 {
00021 char Im[31],Na[31];
00022 double Ocena;
00023 };
00024
00025 extern const char separator[];
00026 extern const char sepStr[];
00027
00028 extern void readCSV(char *nazwaCSV,int *N, struct TLst Lst[]);
00029
00030
00031
00032 extern int NWD(int p, int q);
00033 extern int NWDr(int p, int q, int *x, int *y);
00034 extern int pmod(int b, int e, int m);
00035 #endif // MYLIB_H_INCLUDED