일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- C# delegate
- git
- C언어 포인터
- docker
- c#
- 플러터
- Unity
- Flutter
- c# winform
- C++
- 깃
- 다트 언어
- c언어
- jupyter lab
- dart 언어
- jupyter
- gitlab
- Data Structure
- HTML
- c# 추상 클래스
- Python
- Houdini
- Algorithm
- 유니티
- 포인터
- c# 윈폼
- 구조체
- github
- vim
- 도커
Archives
- Today
- Total
목록c++ 클래스 템플릿(Class Template) (1)
nomad-programmer
[Programming/C++] 클래스 템플릿(Class Template)
클래스 템플릿의 정의방법은 함수 템플릿의 정의방법과 동일하다. #include #pragma warning(disable: 4996) using std::cout; using std::cin; using std::endl; template class Point { private: T xpos, ypos; public: explicit Point(const T x = 0, const T y = 0) : xpos(x), ypos(y) {} void ShowPosition() const { cout
Programming/C++
2021. 2. 7. 00:57