42Seoul 썸네일형 리스트형 [42Seoul] so_long Summary: This project is a very small 2D game. Its purpose is to make you work with textures, sprites, and some other very basic gameplay elements. Common Instructions Program name so_long Turn in files Makefile, *.h, *.c, maps, testures Makefile Name, all, clean, fclean, re Arguments A map in format *.ber External functs. - open ,close, read, write - malloc, free, perror, strerror, exit - All f.. 더보기 ft_printf.c program name libftprintf.a External functs. malloc, free, wirte, va_start, va_arg, va_copy, va_end Description 오리지널 printf()를 흉내내는 ft_printf() 구현 prototype ft_printf(const char *, ...); Mandatory 오리지널 printf()의 버퍼는 구현하지 않는다. cspdiuxX% 옵션을 handle 한다. %c : character 출력 %s : string 출력 %p : void * 포인터 출력 %d : 10진법 숫자 출력 %i : 10진법 정수 출력 %u : unsigned 10진법 숫자 출력 %x : 16진법 숫자를 소문자로 출력 %X : 16진법 숫자를 대문자.. 더보기 get_next_line.c 과제 Function name get_next_line Prototype char *get_next_line(int fd); Parameters fd : the file descriptor to read from Return Read line : correct behavior NULL : there is nothing else to read, or an error occurred Description Write a function that returns a line read from a file descriptor External functs. read, malloc, free 지시사항 - get_next_lint()함수를 반복 호출해서 fd로부터 가리켜진 텍스트 파일을 읽어야함. 한번에 한줄씩 - 읽어.. 더보기 이전 1 다음