Queue (1) 썸네일형 리스트형 Queue 막 구현하기 https://cplusplus.com/reference/queue/queue/ https://cplusplus.com/reference/queue/queue/ container_typeThe second template parameter (Container)Type of the underlying container cplusplus.com 기능> 1. 생성자: 기본 생성자 2. empty() : 큐가 비어있는지 체크 후 bool 타입 반환 3. size() : 큐에 저장된 데이터 갯수 integer 타입 반환 4. front() : 큐에 가장 처음에 추가한 데이터 반환 (제거 x, 수정 가능) 5. back() : 큐에 가장 마지막에 추가한 데이터 반환 (제거 x, 수정 가능) 6. push() : 큐.. 이전 1 다음