일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- C언어 포인터
- C# delegate
- 깃
- git
- gitlab
- docker
- c# 추상 클래스
- HTML
- c# 윈폼
- Unity
- 플러터
- Python
- 포인터
- c언어
- Flutter
- Houdini
- 유니티
- C++
- Algorithm
- 도커
- c#
- dart 언어
- jupyter lab
- c# winform
- github
- vim
- 다트 언어
- Data Structure
- 구조체
- jupyter
Archives
- Today
- Total
05-16 00:00
목록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