This commit is contained in:
LinlyBoi
2023-08-21 11:39:20 +03:00
parent 5df61fff5b
commit 6c756ea867
5 changed files with 19 additions and 8 deletions

View File

@@ -8,5 +8,6 @@ int main(void)
{
int len;
len = _printf("Hello world");
len = _printf("Hello world\n");
return (len);
}

View File

@@ -9,10 +9,11 @@
int main(void)
{
char test_0[] = "Hej";
char *test_0 = "Hej";
/*
* Brain ded to think bout test cond
*/
return (_printf("%s", test_0));
_printf("%s \n", test_0);
return (_printf("hey, %s", test_0));
}

3
tests/test.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/usr/bin/bash
gcc -Wall -pedantic -Werror -Wextra -std=gnu89 $1 ../*.c -o a
./a