diff options
| author | Mitsuo Tokumori <[email protected]> | 2022-11-27 13:57:46 -0500 |
|---|---|---|
| committer | Mitsuo Tokumori <[email protected]> | 2022-11-27 13:57:46 -0500 |
| commit | 337c2e523dc1a849804e0749fc85e2fb8bfa53a3 (patch) | |
| tree | 50d9c41d7eec8695079f8d0b26661c79e0de2bef /2022-2/L6/mitsuo/fun.h | |
| parent | 2202706efaf7a067af0495d531998b8ad8b86a92 (diff) | |
| download | LP1-337c2e523dc1a849804e0749fc85e2fb8bfa53a3.tar.gz LP1-337c2e523dc1a849804e0749fc85e2fb8bfa53a3.tar.bz2 LP1-337c2e523dc1a849804e0749fc85e2fb8bfa53a3.zip | |
Add enunciados, add sol to L8
Diffstat (limited to '2022-2/L6/mitsuo/fun.h')
| -rw-r--r-- | 2022-2/L6/mitsuo/fun.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/2022-2/L6/mitsuo/fun.h b/2022-2/L6/mitsuo/fun.h new file mode 100644 index 0000000..aaa34c9 --- /dev/null +++ b/2022-2/L6/mitsuo/fun.h @@ -0,0 +1,11 @@ +#include <iostream> + +#define MAXLEN 100 + +int cmpnumero(const void *p1, const void *p2); +int *leenumero(std::istream &in); +void cargaarreglo(void *&arreglo, + int (*cmpnumero)(const void *, const void *), + int *leenumero(std::istream &in), + const char *filename); +void imprimenumero(std::ostream &out, void *data);
\ No newline at end of file |
