summaryrefslogtreecommitdiffstats
path: root/2022-2/L06/mitsuo/fun.h
diff options
context:
space:
mode:
authorMitsuo Tokumori <[email protected]>2023-08-18 01:56:52 -0500
committerMitsuo Tokumori <[email protected]>2023-08-18 01:56:52 -0500
commit49d4392ca1972c8d66b1015f2cdda414d94812b8 (patch)
tree13585bcb546d97b96ec669457c06fc27f2d66ab7 /2022-2/L06/mitsuo/fun.h
parentd6e56dbe184cac37d7aa5cebe3e1db108dee4a28 (diff)
downloadLP1-49d4392ca1972c8d66b1015f2cdda414d94812b8.tar.gz
LP1-49d4392ca1972c8d66b1015f2cdda414d94812b8.tar.bz2
LP1-49d4392ca1972c8d66b1015f2cdda414d94812b8.zip
Fix naming. Add leading 0 to lab names
Diffstat (limited to '2022-2/L06/mitsuo/fun.h')
-rw-r--r--2022-2/L06/mitsuo/fun.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/2022-2/L06/mitsuo/fun.h b/2022-2/L06/mitsuo/fun.h
new file mode 100644
index 0000000..aaa34c9
--- /dev/null
+++ b/2022-2/L06/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