42Seoul 개인과제 Shell00
42Seoul 개인과제 Shell01
Exercise 00: ft_putchar• Write a function that displays the character passed as a parameter.특정 character 변수를 출력하는 함수저수준 입출력 write함수만 허용됨unistd 헤더를 포함
Exercise 00 : ft_ft• Create a function that takes a pointer to int as a parameter, and sets the value "42" to that int.포인터의 첫 등장.포인터를 입력 받으면 그 포인터가 가리
Exercise 00 : ft_strcpysrc를 dest에 복사하는 함수리턴값 : 복사된 문자열dest와 src의 길이에 따른 다음과 같은 경우의 수가 있다.dest_len < src_len : runtime errordest_len = src_len : 정상적
Exercise 00 : ft_strcmpstring compare 즉 문자열 두 개를 비교해주는 함수return값에 대한 설명이 0일 때 같고 0보다 작다와 크다라고 나와서 헷갈렸지만 다행히 두 문자열이 만나서 처음으로 다른(차이가 0이 아닌) 문자가 나왔을 때 그
Excercise 00 ~ 02는 앞서 나온 문제들과 중복됨 > Exercise 03 : ft_atoi • Write a function that converts the initial portion of the string pointed by str to its in
Exercise 00 : ft_iterative_factorial• Create an iterated function that returns a number. This number is the result of a factorial operation based on t
동적 할당을 처음으로 사용하는 문제들 > Exercise 00 : ft_strdup • Reproduce the behavior of the function strdup (man strdup). strdup함수를 구현하는 함수 strcpy는 복사 받을 dest를 매
CC = GccCFLAGS = -Wall -Wextra -WerrorNAME = libft.aINCLUDE = ./includesDIR = ./srcsSRCS = ft_putchar.c ft_swap.c ft_putstr.c ft_strlen.c ft_strcmp.cO