최신글
-
백업
chat gpt가 제시하는 넷백업 문제 해결법
넷백업 에러코드 정리한 글을 보다가 혹시 chat gpt4가 넷백업 에러코드까지 분석해 줄 수 있는지 궁금해서 한 번 물어봤습니다.... 그런데 생각보다 자세히 알려주더라고요 Error code 96: "Unable to allocate new media for backup, storage unit has none available" 이 오류는 미디어 할당 문제로 발생합니다. 이 문제를 해결하려면 다음 중 하나 이상의 조치를 취할 수 있습니다. 새로운 미디어를 추가하여 스토리지 단위에 할당합니다. 다른 스토리지 단위에 백업을 보관합니다. Error code 84: "Media write error" 이 오류는 미디어 쓰기 문제로 발생합니다. 이 문제를 해결하려면 다음 중 하나 이상의 조치를 취할 수 있습..
-
게임추천
chat gpt가 추천하는 게임!!!
요즘 게임을 좀 지루하게 느끼고 있는 분들에게 추천하고 싶은 재미있는 게임들 몇 가지를 소개해드릴게요. Fall Guys: Ultimate Knockout 최근 히트한 멀티플레이어 게임인 Fall Guys: Ultimate Knockout은 점점 어려워지는 단계를 통과하며 계속해서 진행하는 게임입니다. 게임의 목적은 다른 플레이어들을 무찌르고 최종 승리를 쟁취하는 것입니다. Among Us 간단한 컴퓨터 게임 Among Us은 플레이어가 우주선에 있는 비행 기사 중 한 명이 되어 침입자를 찾는 게임입니다. 플레이어들은 다른 팀원들과 합작하여 누가 침입자인지 발견해야 합니다. Genshin Impact(원신) PC, PS4, iOS, Android용 RPG인 Genshin Impact는 여러 캐릭터를 조작..
-
C++
자유예제_ this포인터와 오버로딩 복습
#include using namespace std; class TestThis { private: int _value01; int _value02; public: TestThis(int value01 ,int value02) :_value01(value01), _value02(value02) { //this 자체는 포인터, 생성자가 두개있으면 걍 this 는 첫번째꺼를 가르킴 cout
-
C++
복사생성자, 생성자초기화(반환값최적화)
#include #include using namespace std; class Fraction { private: int _numerator; int _denumerator; public: Fraction(int num =0, int den =1) :_numerator(num), _denumerator(den) { assert(den != 0); } Fraction(const Fraction& fraction) //copy constructor :_numerator(fraction._numerator), _denumerator(fraction._denumerator) { //copy가 발생될 때마다 출력되는 문구 cout
-
C++
괄호연산자, 형변환 연산자 오버로딩
#include using namespace std; //형변환 연산자 오버로딩 class Cents { private: int _cents; public: Cents(int cents = 0) { _cents = cents; } int getCents() { return _cents; } void setCents(int cents) { _cents = cents; } operator int() { cout
-
C++
첨자연산자[] 배열연산자 오버로딩
#include #include using namespace std; class IntList { private: int _list[10] = { 1,2,3,4,5,6,7,8,9,10 }; public: //값을 &(reference) 로 return 하는 이유 int& operator [] (const int index) { //런타임에러 디버깅을 위해 assert(index >= 0); assert(index = 0); assert(index < 10); return _list[index]; } }; cl..