C++ & Algorithms — 한국어 개발 블로그

최근 포스트

일관된 초기화

1 분 소요

일관된 초기화: Uniform initialize 변수의 종류에 상관없이 동일한 방법으로 초기화 할 수 있게 하자 ```cpp struct Point { int x, y; }; class Complex { int re, im; public: Complex(int a, i...

위임 생성자

최대 1 분 소요

위임 생성자: Deligating constructor 본인의 다른 생성자를 호출하는 생성자 ```cpp #include

사용자 정의 상수

1 분 소요

사용자 정의 상수: 상수 값으로 사용자 정의 타입을 만들 수 있다. c++ 기본 상수 1.0f 2l “string”s: stl 사용자 정의 상수 1_m 2.0_dd “my st...

begin end

2 분 소요

```cpp #include #include #include

iterator category

3 분 소요

```cpp #include #include #include // find() 와 같은 함수가 여기에 있다.