Removed main.c from Ex. 06 master
authorLukas Jiriste <ljiriste@student.42prague.com>
Wed, 28 Jun 2023 08:24:33 +0000 (10:24 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Wed, 28 Jun 2023 08:24:33 +0000 (10:24 +0200)
ex06/main.c [deleted file]

diff --git a/ex06/main.c b/ex06/main.c
deleted file mode 100644 (file)
index 3ade81c..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/* ************************************************************************** */
-/*                                                                            */
-/*                                                        :::      ::::::::   */
-/*   main.c                                             :+:      :+:    :+:   */
-/*                                                    +:+ +:+         +:+     */
-/*   By: ljiriste <marvin@42.fr>                    +#+  +:+       +#+        */
-/*                                                +#+#+#+#+#+   +#+           */
-/*   Created: 2023/06/28 07:29:06 by ljiriste          #+#    #+#             */
-/*   Updated: 2023/06/28 09:55:37 by ljiriste         ###   ########.fr       */
-/*                                                                            */
-/* ************************************************************************** */
-
-#include <unistd.h>
-
-void   ft_sort_string_tab(char **tab);
-
-void   print_str_arr(char **strs)
-{
-       while (*strs)
-       {
-               while (**strs)
-                       write(1, (*strs)++, 1);
-               write(1, "\n", 1);
-               ++strs;
-       }
-       return ;
-}
-
-int    main(int argc, char **argv)
-{
-       if (argc == 1)
-               return (0);
-       ft_sort_string_tab(argv + 1);
-       print_str_arr(argv + 1);
-       return (0);
-}