본문 바로가기

빙수달 게임 개발 노트

검색하기
빙수달 게임 개발 노트
프로필사진 빙수달

  • 분류 전체보기 (70)
    • Programming (65)
      • 백준 (17)
      • 알고리즘 (19)
      • C++ (24)
      • WindowAPI (4)
      • C (1)
    • Devpedia : Game (3)
    • Dev Log : Game (2)
      • 유니티(Unity) (2)
      • 포트폴리오 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/01   »
일 월 화 수 목 금 토
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Tags
  • 알고리즘
  • 프로그래밍
  • for문
  • C++
  • 구조체
  • WindowAPI
  • 코테
  • 백준
  • if문
  • 아틀라스
  • 아스키 코드
  • 동적할당
  • CPP
  • 코딩테스트
  • string
  • c#
  • 정렬
  • 코딩
  • 윈도우api
  • 자료구조
  • 최댓값
  • Unity
  • 반복문
  • 문자열
  • 스프라이트
  • 유니티
  • 함수
  • 배열
  • boj
  • 단위변환
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록Queue (1)

빙수달 게임 개발 노트

[알고리즘] 큐(Queue)

#include #include using namespace std;// Queue의 기본 용량 정의#define SIZE 1000// Queue를 저장할 클래스class Queue{ int* arr; int capacity; int front; int rear; int count;public: Queue(int size = SIZE); // 생성자 ~Queue(); int dequeue(); void enqueue(int x); int peek(); int size(); bool isEmpty(); bool isFull();};// Queue를 초기화하는 생성자Queue::Queue(int size){ arr = new int[size]; capacity = size; front = 0; rear..

Programming/알고리즘 2025. 7. 8. 17:20
이전 Prev 1 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바