본문 바로가기

Programming/C++3

Visual Studio에서 Nana GUI library 사용하기 Nana는 크로스 플랫폼 C++ GUI 라이브러리입니다. 오픈소스이며 윈도우, 리눅스 그리고 맥OS 환경에서 지원합니다. 이 글에서는 Visual Studio 2019에서 Nana GUI library 사용하는 법을 소개합니다. Nana C++ Library - a modern C++ GUI library (nanapro.org) Nana C++ Library - a modern C++ GUI library Thank you for downloading Nana C++ Library Your download should start automatically. If it doesn’t, please click Download historical version, please click here. Help sh.. 2023. 3. 14.
[C++] C++ 공부 시 참고 사이트 (isocpp, cppreference, ..) C++ 공부 시 참고할만한 사이트 정리 isocpp.org Standard C++ isocpp.org https://en.cppreference.com/w/ cppreference.com Null-terminated strings: byte − multibyte − wide en.cppreference.com https://www.youtube.com/@CppCon https://www.youtube.com/@CppCon www.youtube.com https://godbolt.org/ Compiler Explorer godbolt.org https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines C++ Core Guidelines isocpp.githu.. 2023. 2. 20.
[C++] STL vector 정리 및 사용법 1. vector란? 어떠한 자료형도 넣을 수 있는 동적 배열 vector에 저장된 요소는 연속된 메모리 공간에 위치 요소 수가 증가함에 따라 메모리를 자동으로 관리 어떤 요소에도 임의 접근이 가능 2. vector 헤더파일 및 네임스페이스 #include using namespace std; 3. vector 만들기 vector v; 빈 벡터를 생성 vector v(5); 크기가 5이고, 모든 요소가 기본값인 0으로 초기화된 벡터 생성 vector v(5, 10); 크기가 5이고, 모든 요소가 10으로 초기화된 벡터 생성 vector v2(v1); v1 vector와 동일한 크기 및 데이터를 갖는 vector v2 생성 예시) #include #include using namespace std; int.. 2022. 7. 14.