commit
This commit is contained in:
31
C_02/git/ex07/main.c
Normal file
31
C_02/git/ex07/main.c
Normal file
@@ -0,0 +1,31 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* main.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: gbaconni <marvin@42lausanne.ch> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2021/08/10 11:12:33 by gbaconni #+# #+# */
|
||||
/* Updated: 2021/08/10 11:25:31 by gbaconni ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
char *ft_strupcase(char *str);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
char str[32];
|
||||
char *result;
|
||||
|
||||
printf("Input [max 31]: ");
|
||||
scanf("%s", str);
|
||||
printf("str=%s\n", str);
|
||||
result = ft_strupcase(str);
|
||||
printf("str=%s result=%s\n", str, result);
|
||||
return (0);
|
||||
}
|
||||
Reference in New Issue
Block a user