전체 글 219

[C++] 6월 20일 코딩 테스트 수업

프로그래머스 Lv.4행렬과 연산 #pragma once#include #include class C_MAT{private: int** m_ppNode; int m_nColumn; int m_nRow; std::list m_listRotate; void rotateList(std::list &list);public: C_MAT() = default; void init(int nRow, int nColumn); void rotate(); void print();}; #include "mat.h"//리스트를 만들어 -> 뒤에다 복사하는걸 만듬 -> 하나가 부족할꺼임 ㅇㅇ -> void C_MAT::init(int nRow, int nColumn){ m_nColumn = nColumn; m_nRow = nR..

C++ 2025.06.20

[Unreal] 6월 19일 수업정리

어제 수업을 이어서 진행했다. BP-Item-Base bp-ThirdPersonCharacter E-item Select시퀀스 0 : m-items의 length가 0일 경우 return -1 시퀀스 1 : m-items에서 m-itemSelect가 없을 경우 m-items의 lastIndex 반환( find : 없을 -1을 반환. 그렇기에 0 미만일 경우 없다는것을 의미 )있다면 "--" 하고 select int로 True 라면 A ( m-items의 lastIndex )를 False 라면 B ( -- 한 인덱스 값 ) 을 반환Index값이 0 미만일 경우 return검증된 get m-item Select - 존재한다면 e-highLigth Off get을 이용하여 Index에 해당하는 m-items ..

Unreal 2025.06.19

[C++] 6월 16일 코딩 테스트 수업

프로그래머스 봉인된 주문진수법을 이용하여 문제을 해결 이거 지금 맵핑 이용해서 해결해볼려고 하다가 다 못함 ㅇㅇ #include #include #include void toKeys(int nNumbers, std::map &map, std::string& str);int main(){ std::map map{}; std::string str{}; for (int i = 0; i & map, std::string& str)//{//// for(auto iter : map)// { }// while (nNumbers > 0)// {// int nData = nNumbers % 27;// // // printf("%c",..

C++ 2025.06.16