aboutsummaryrefslogtreecommitdiff
path: root/c08/point_main.c
diff options
context:
space:
mode:
authorCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-15 08:15:37 +0200
committerCabergs Charles <cacharle@e-r6-p7.s19.be>2019-07-15 08:15:37 +0200
commit6bf5dd01493dd6bf644a4896c666535e5eaa8d67 (patch)
tree25b02c02f5140dbefbabd7720f292d8be3d5cc51 /c08/point_main.c
parente8ab18a2c724c0acfa1688a62bc2042471d68e39 (diff)
downloadpiscine-6bf5dd01493dd6bf644a4896c666535e5eaa8d67.tar.gz
piscine-6bf5dd01493dd6bf644a4896c666535e5eaa8d67.tar.bz2
piscine-6bf5dd01493dd6bf644a4896c666535e5eaa8d67.zip
c07 passed, c08 in progress, rush01(+ 6x6 try)
Diffstat (limited to 'c08/point_main.c')
-rw-r--r--c08/point_main.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/c08/point_main.c b/c08/point_main.c
new file mode 100644
index 0000000..ec651f4
--- /dev/null
+++ b/c08/point_main.c
@@ -0,0 +1,27 @@
+/* ************************************************************************** */
+/* */
+/* ::: :::::::: */
+/* point_main.c :+: :+: :+: */
+/* +:+ +:+ +:+ */
+/* By: cacharle <charles.cabergs@gmail.com> +#+ +:+ +#+ */
+/* +#+#+#+#+#+ +#+ */
+/* Created: 2019/07/11 14:50:27 by cacharle #+# #+# */
+/* Updated: 2019/07/11 14:51:48 by cacharle ### ########.fr */
+/* */
+/* ************************************************************************** */
+
+#include "ex03/ft_point.h"
+
+void set_point(t_point *point)
+{
+ point->x = 42;
+ point->y = 21;
+}
+
+int main(void)
+{
+ t_point point;
+
+ set_point(&point);
+ return (0);
+}