ft_printf의 프로토타입은 int ft_printf(const char , ...);
이어야 합니다.
The prototype of ft_printf should be int ft_printf(const char *, ...);
당신은 libc의 printf 함수를 다시 구현해야 합니다.
You have to recode the libc’s printf function
실제 printf 함수처럼 버퍼 관리를 수행해서는 안 됩니다.
It must not do the buffer management like the real printf
다음과 같은 서식 지정자들을 구현할 것입니다: cspdiuxX%
It will manage the following conversions: cspdiuxX%
모든 서식문자에서 0.*
플래그와 최소 필드 너비의 조합을 어떤 조합도 처리할 것입니다.
It will manage any combination of the following flags: ’-0.*’ and minimum field width with all conversions
실제 printf 함수와 비교될 것입니다.
It will be compared with the real printf
라이브러리를 생성할 때에는 ar
명령어를 이용하세요. libtool
명령어는 허용되지 않습니다.
You must use the command ar to create your librairy, using the command libtool is forbidden.
이번 프로젝트를 진행하기 전 다짐한 내용이 있었다. 이번 프로젝트 과제부터는 절대로 코드먼저 잡지 않고 구조 설계와 psudo code를 먼저 구상한 다음 코드작성 작업을 하기로 다짐했다. 하지만 ft_printf 과제 특성상 혼자서 모든 예외처리를 다 잡는 구조를 만들어 내기엔 아직 역량이 부족해서 훌륭한 두 친구 찬호, 현준과 함께 구조설계를 진행하였다.