static메소드에서 static메소드 안에 있는 (static이 붙지않은)지역변수를 호출(참조)할 수 있나요? 혹은 다른 static메소드의 안에 있는 (static이 붙지않은)...
태그:
자바] static 멤버에 대해 설명 부탁드립니다. 간한한... ^^ 제가 아는 범위내에서의 static 멤버는 값을... [code] class A{ static int num = 5; } //이런 static 변수같은...
태그:
맨 아래 프로그램의 결과는 빨간색의 static 을... 전역변수와 static 변수의 차이는 전혀... 즉, static 변수는 프로그램이 시작될때 스태틱영역에...
태그:
... 내에서 static 변수 선언시 반드시 초기화 해줘야 하나요? 예를 들어 class Person { static int count; }; int... 하지만 void A( int value ) { static int a = 0; a += value; printf...
태그:
... non-static member function 이런 에라가 나는데... 'CBill::Init' : illegal call of non-static member function CBill 클래스의 Init 메쏘드는 static...
태그:
c언어 auto와 static은 뭐할때 쓰는 명령어인가요?... include<stdio.h> int example() { static int count=1; count1... 등등 static = 변수의 내용을 저장하는 형식 static int a...
태그: c언어
... static int Y = 0; X++; Y++; printf("X값의 변화:%d, Y값의 변화:%d \n", X, Y); } } 가... 선언할때 static으로 선언하게 되면 static 변수는 처음에 한번 초기화가 되고...
태그:
다음 StaticTest 클래스가 있을 때, class StaticTest { static int a; public: static int getA( ) { return a; } }; 다음 소스에서 잘못된 코드는? StaticTest s; StaticTest...
태그:
... 왼쪽부터 순서대로 A, B, C라 할때, A-B 간은 Static으... 대해 Static routing 설정을 해야 합니다. 또한 라우터 B는 Static routing과 RIP 간의 다리 역할을 하므로 router...
태그:
... class IntTest { public static void main(String[] args) { int i... { static int j=10; } 위 두 간단한 클래스가 있는데요. 두번째 Arrange 클래스의 j 변수를 static이...
태그: