lst함수들에 대해서(lstnew, lstadd_front, lstadd_back, lst_size)
틀린 내용이 있다면 댓글로 알려주세요! 감사합니다 :) 💡 lstnew 에 대하여 struct s_list { void *content; struct s_list *next; } t_list; t_list란 s_list의 구조체이다. Prototype t_list *ft_lstnew(void *content); content : s_list의 content 포인터 Return Value 새로 만든 list의 포인터를 반환한다. lstnew 함수의 구현 t_list *ft_lstnew(void *content) { t_list *result; result = (t_list *)malloc(sizeof(t_list)); if (result) { result->content = content; result->..
TIL(Today I Learn)/C++
2021. 1. 17. 05:18
250x250
반응형
TAG
- 자바스크립트
- 42seoul
- 프로그래머스 코딩테스트
- C언어
- vscode commit vi
- c언어 함수
- flexbox
- C언어문제
- git vi
- JS
- React
- 42서울 합격 후기
- c언어알고리즘
- 프로그래머스 자바
- css
- vscode
- 프로그래머스 카카오
- 프로그래머스 코테
- 42서울
- JavaScript
- 알고리즘
- HEXO
- 백준
- 마크다운 이미지 업로드
- C언어 문제
- windows 10 ubuntu
- 42서울 합격
- html
- 42서울 라피신
- Git
최근에 올라온 글