All
This commit is contained in:
parent
e22e2b2191
commit
f5cde71df9
|
@ -6,7 +6,7 @@
|
|||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/03/19 10:33:26 by tischmid #+# #+# */
|
||||
/* Updated: 2023/03/24 01:29:19 by tischmid ### ########.fr */
|
||||
/* Updated: 2023/03/24 01:36:25 by tischmid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -28,6 +28,7 @@ int ft_str_is_alpha(char *str)
|
|||
|
||||
int main(void)
|
||||
{
|
||||
printf(STR "\n");
|
||||
if (ft_str_is_alpha(STR))
|
||||
printf("Contains only alphabetical characters\n");
|
||||
else
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/03/19 10:33:26 by tischmid #+# #+# */
|
||||
/* Updated: 2023/03/24 01:29:01 by tischmid ### ########.fr */
|
||||
/* Updated: 2023/03/24 01:36:42 by tischmid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -28,6 +28,7 @@ int ft_str_is_numeric(char *str)
|
|||
|
||||
int main(void)
|
||||
{
|
||||
printf(STR "\n");
|
||||
if (ft_str_is_numeric(STR))
|
||||
printf("Is numeric\n");
|
||||
else
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */
|
||||
/* Updated: 2023/03/24 01:08:55 by tischmid ### ########.fr */
|
||||
/* Updated: 2023/03/24 01:36:52 by tischmid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -23,6 +23,7 @@ int ft_str_is_lowercase(char *str)
|
|||
|
||||
int main(void)
|
||||
{
|
||||
printf(STR "\n");
|
||||
if (ft_str_is_lowercase(STR))
|
||||
printf("Is all lowercase\n");
|
||||
else
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */
|
||||
/* Updated: 2023/03/24 01:16:08 by tischmid ### ########.fr */
|
||||
/* Updated: 2023/03/24 01:36:59 by tischmid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -28,6 +28,7 @@ int ft_str_is_uppercase(char *str)
|
|||
|
||||
int main(void)
|
||||
{
|
||||
printf(STR "\n");
|
||||
if (ft_str_is_uppercase(STR))
|
||||
printf("Is all uppercase\n");
|
||||
else
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/03/19 11:03:56 by tischmid #+# #+# */
|
||||
/* Updated: 2023/03/24 01:16:50 by tischmid ### ########.fr */
|
||||
/* Updated: 2023/03/24 01:37:11 by tischmid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -28,6 +28,7 @@ int ft_str_is_printable(char *str)
|
|||
|
||||
int main(void)
|
||||
{
|
||||
printf(STR "\n");
|
||||
if (ft_str_is_printable(STR))
|
||||
printf("Is printable\n");
|
||||
else
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/03/19 11:18:13 by tischmid #+# #+# */
|
||||
/* Updated: 2023/03/24 01:28:23 by tischmid ### ########.fr */
|
||||
/* Updated: 2023/03/24 01:37:20 by tischmid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
/* By: tischmid <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2023/03/19 11:27:43 by tischmid #+# #+# */
|
||||
/* Updated: 2023/03/24 01:31:35 by tischmid ### ########.fr */
|
||||
/* Updated: 2023/03/24 01:37:33 by tischmid ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -45,6 +45,7 @@ char *ft_strcapitalize(char *str)
|
|||
|
||||
int main(void)
|
||||
{
|
||||
printf(STR "\n");
|
||||
char s1[] = STR;
|
||||
printf("%s\n", ft_strcapitalize(s1));
|
||||
return (0);
|
||||
|
|
Loading…
Reference in New Issue