Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- RootMotion
- C++
- 1563
- 팰린드롬 만들기
- Unreal Engine5
- softeer
- UnrealEngine5
- DirectX11
- Programmers
- UnrealEngine4
- winapi
- TObjectPtr
- UE5
- algorithm
- NRVO
- Frustum
- RVO
- 오블완
- 줄 세우기
- IFileDialog
- C
- 티스토리챌린지
- 프로그래머스
- 백준
- directx
- const
- GeeksForGeeks
- 언리얼엔진5
- baekjoon
- 2294
Archives
- Today
- Total
목록Quiz (1)
Game Develop

클래스 생성 시 따로 코드로 작성하지 않아도 디폴트로 추가되는 생성자,연산자 등을 선택하는 문제이다. A,B,C 모두 해당되기 때문에 정답은 D인 All of the above 이다. 아래의 예시코드를 보면, 클래스 생성과 변수 선언만 했을 뿐이지만 기본생성자,복사생성자,대입연산자 전부 잘 작동한다. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 class Temp { public: int a = 0; }; int main() { Temp temp1; // A constructor without any parameter // OK. temp1.a = 20; Temp temp2(temp1); // Copy Constructor // OK. Temp temp3; ..
C++/GeeksForGeeks Quiz
2022. 7. 6. 21:48