본문 바로가기

분류 전체보기

(94)
C++ 자료형 Max 값 ( Windows 10 - 64bit 에서 테스트 ) #include 의 template numeric_limits를 사용. 더보기 #include #include #include ostringstream os; cout
[정리중] C++ 디자인 패턴 종류 보호되어 있는 글입니다.
cocos2d-x 3.17.2 - API ‘variant.getMergeAssets()’ is obsolete variant.mergeAssets.doLast { copy { from "${buildDir}/../../../Resources" into "${buildDir}/intermediates/assets/${variant.dirName}" exclude "**/*.gz" } } 를 variant.mergeAssetsProvider.get().doLast { copy { from "${buildDir}/../../../Resources" into "${buildDir}/intermediates/assets/${variant.dirName}" exclude "**/*.gz" } } 로 변경하면 된다. variant.mergeAssets.doLast -> variant.mergeAssetsProvider.get..
cocos2d-x 3.17.2 Expression: child != nullptr 에러 전에 사용했던 3.17 버전에서, 컴퓨터를 바꾸면서 3.17.2 버전으로 올렸다 ( https://github.com/cocos2d/cocos2d-x/releases ) 이런 에러를 보게 되었는데, 처음엔 Node쪽 문제인줄 알고 DrawNode를 생성, 위치 설정하고 addChild를 했으나 아무런 문제가 없었다. 이런 저런 시도를 해본 결과 옆의 에러는 이미지가 없을 경우 뜨는 에러였고, 의도된 부분인지, 아니면 전에 바뀐건데 3.17.1를 거치지 않고 3.17.2로 넘어와서 몰랐던 건진 모르겠으나 FileUtils의 파일 경로에 Resources 폴더 경로가 빠져있다. AppDelegate.cpp 에 FileUtils::getInstance()->addSearchPath( "Resources" );..
STL Container (기존 게시물 https://static-jsony.tistory.com/42 ) STL Container 컨테이너란 데이터를 모아서 저장해 둘 수 있는 제네릭 데이터 구조로, 템플릿(template)로 만들어져 있기에 어떤 데이터 타입이든 저장이 가능하다. std::array와 std::bitset을 제외한 나머지 컨테이너들은 항목의 갯수에 따라 그 크기가 유동적으로 변하기 때문에 융통성 있게 사용할 수 있다. 컨테이너 타입 종류 + @ Sequence Container [ 시퀸스 컨테이너 ] array 배열 vector 가변배열 list 양방향 연결 리스트 forward_list 단방향 연결 리스트 deque 앞뒤로 넣고 빼는 큐 특징 선형적인 집합 자료를 저장하는 기본 임무에 충실한 일반적인 컨테이..
마인크래프트 하드코어 <->서바이벌 / 죽은 캐릭터 살리기 NBT Explorer : https://github.com/jaquadro/NBTExplorer/releases/tag/v2.8.0-win
형상관리툴 종류 https://www.gitkraken.com/ Git Client - Glo Boards | GitKraken Unleash the Kraken! GitKraken comes with two legendary tools that help developers be more productive: the Git Client for Windows, Mac and Linux, and Glo Boards for task and issue tracking. Download the free Git Client and sign up for Glo Boards for free! www.gitkraken.com https://www.git-tower.com/ Tower - The most powerful Git clien..
[ 작업 예정 ]Firebase < - > PC C++ 보호되어 있는 글입니다.