aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/main.c b/main.c
index c59cba5..56178bb 100644
--- a/main.c
+++ b/main.c
@@ -1,7 +1,14 @@
-#include "header.h"
+#include "cub3d.h"
int main(int argc, char **argv)
{
+ if (argc != 2)
+ {
+ ft_putendl("Error");
+ return (1);
+ }
+
+ t_parsing *p = parse(argv[1]);
return (0);