aboutsummaryrefslogtreecommitdiff
path: root/c08/point_main.c
diff options
context:
space:
mode:
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);
+}