aboutsummaryrefslogtreecommitdiff
path: root/c08/point_main.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-07-15 08:15:37 +0200
committerCharles <sircharlesaze@gmail.com>2019-07-15 08:15:37 +0200
commit3b9a1d7dcc5683b962f2bf24795e80e1c449cd1f (patch)
tree25b02c02f5140dbefbabd7720f292d8be3d5cc51 /c08/point_main.c
parentc2bf9fcefbb4453cee271ccd1af9674ad2f3a181 (diff)
downloadpiscine-3b9a1d7dcc5683b962f2bf24795e80e1c449cd1f.tar.gz
piscine-3b9a1d7dcc5683b962f2bf24795e80e1c449cd1f.tar.bz2
piscine-3b9a1d7dcc5683b962f2bf24795e80e1c449cd1f.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);
+}