do{\
if(head){ (foot)->next = (now); (now)->prev = (foot); }else{ (head) = (now); }\
(foot) = (now);\
}while(0)
이렇게 되어있으면 do문 먼저 한번 실행하고
while 조건에 따라 반복하라는건데
while(0)으로 되어있으면
0번 반복하라는 뜻?
do{\
if(head){ (foot)->next = (now); (now)->prev = (foot); }else{ (head) = (now); }\
(foot) = (now);\
}while(0)
이렇게 되어있으면 do문 먼저 한번 실행하고
while 조건에 따라 반복하라는건데
while(0)으로 되어있으면
0번 반복하라는 뜻?
아무것도안한다는 뜻
.false