asked
Let's learn C and C++ at the same time - Doodle Doodle's C/C++
Lesson 60. Constant parameters and constant methods
Written on
·
205
0
정적 변수를 초기화 하기위한 형식으로
int Color :: counter를 사용했었는데, 이미 클래스 안에 static int 로 선언되어 있는데
왜 초기화 할때 앞에 int를 써야 하는지 여쭙고 싶습니다.
Answer