Programming I133 23.03.14.화_2개월.04_TextRPG복습 보호되어 있는 글 입니다. 2023. 3. 14. 23.03.13.월_2개월.03_Explicit.전방선언.이니셜라이저.읽기전용함수 보호되어 있는 글 입니다. 2023. 3. 13. 성적 입력 및 출력 프로그램 [성적 입력 및 출력 프로그램] - 사용 스크립트 파일 8개. - 생성한 클래스 2개. -> MainGame, Student. 더보기 - MainScript.cpp #include "pch.h" #include "MainGame.h" int main() { MainGame Maingame; Maingame.Initialize(); Maingame.Update(); Maingame.Release(); return 0; } - MainGame.h #pragma once #include "Student.h" class MainGame { public: MainGame(); ~MainGame(); public: void Initialize(); void Update(); void Release(); privat.. 2023. 3. 13. Text Rpg _C, C++ [2] [ Text RPG ] - 사용 스크립트 파일 12개. - 생성한 클래스 4개. -> MainGame, Player, Monster, HuntingGround. [ 코드 내용 ] 더보기 - MainScript.cpp #include "pch.h" #include "MainGame.h" int main() { _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF); CMainGame MainGame; MainGame.Initialize(); MainGame.Update(); //MainGame.Release(); return 0; } - MainGame.h #pragma once //#include "Player.h" //#include "Hunting.. 2023. 3. 13. 입력받은 문자열 결합 더보기 - 문자열 결합 함수 미사용 #include using namespace std; void AddArr(char _szArr1[], char _szArr2[], char _AddArr[]); void main() { char szArrOne[64]{}; char szArrTwo[64]{}; char _szArr[128]{}; cout > szArrOne; while ('\n' != getchar()); cout > szArrTwo; AddArr(szArrOne, szArrTwo, _szArr); // cout 2023. 3. 11. 23.03.10.금_2개월.02_성적프로그램.TextRPG 보호되어 있는 글 입니다. 2023. 3. 11. 이전 1 ··· 16 17 18 19 20 21 22 23 다음