일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- git
- vim
- jupyter
- 다트 언어
- Flutter
- jupyter lab
- c# 추상 클래스
- C# delegate
- 구조체
- 플러터
- dart 언어
- Data Structure
- c# winform
- HTML
- Algorithm
- 포인터
- gitlab
- github
- C언어 포인터
- 유니티
- Unity
- docker
- c# 윈폼
- C++
- 깃
- c언어
- c#
- Python
- Houdini
- 도커
Archives
- Today
- Total
목록c++ 스마트 포인터(Smart Pointer) (1)
nomad-programmer
[Programming/C++] 스마트 포인터(Smart Pointer)
스마트 포인터란 말 그대로 똑똑한 포인터이다. 그리고 스마트 포인터는 객체이다. 포인터의 역할을 하는 객체를 뜻한다. #include #pragma warning(disable: 4996) using std::cout; using std::cin; using std::endl; class Point { private: int xpos, ypos; public: explicit Point(const int x = 0, const int y = 0) : xpos(x), ypos(y) { cout
Programming/C++
2021. 2. 5. 21:44