U E D R , A S I H C RSS

새싹교실/2011/무전취식/레벨7

* : 2011/5/12 5~ 8
* : 06
* : 11



1.


Array .
int a[10];

a[0];
a[9];

scanf("%d",&a[0]);
stack call .





2. Ice Breaking


ICE Breaking

: . 경 . 300. 3 3. 240 . . . 그 . 그 . . 그 3개 1개 . 3개 게 Mile Stone . . prezi . . 그 겁게 .

: . 12 감'ㅅ' 그 . 그 감. 그 . . 그 감. 갔 .
고 3개 1. 그 ㅠㅠ 2. 그 'ㅅ' ㅋㅋㅋ
감. 그 1:1 . 근 . 그 1:1 . ㅋㅋㅋ 그 . 그 . ㅠㅠ 그 .
ㅋㅋㅋㅋ : .

: , . . 12 5 9 . . ㅋㅋㅋㅋ 그 Wii. ㅠㅠ 그 길거. 기고 ㅋㅋㅋ ㅋㅋㅋ . . 그 4 ㅠㅠ 그 교 3 10감 ㅋㅋㅋ 그 감 . 그 구경 감. ㅋㅋ. 감기 ㅠㅠ 그 . . 그 . 그 .

: . . 그 . C과1 .


3.


  • Pointer :

int *p ; 
p = 값;
*p =>   값. 

  • . 2. int a and 값!!!

  • Call-By-Value : .

  • Call-By-Reference : C .

4.



#include <stdio.h>

void printArray(int x[], int size){
	int i;
	for(i=0;i<size;i++){
		printf("%d",x[i]);
	}
	printf("\n");
}

void printArrayByPointer(int *x, int size){
	int i;
	for(i=0;i<size;i++){
		printf("%d",x[i]);
	}
	printf("\n");

}

void changeXY(int *x, int * y) //x y main   "값" !
{
	int temp;
	temp = *x;
	*x = *y;
	*y = temp;

}

void changeSimple(int x,int y){

	int temp;
	temp = x;
	x = y;
	y = temp;
}

int main(){
	
	int arrays[10];
	int x, y;
	int i;
	
	for(i=0;i<10;i++)
		arrays[i] = i;
	// 0~ 9까 !
	x = 3;
	y = 5;
	printArray(arrays,10);
	printArrayByPointer(arrays,10);

	//X, Y !
	printf("%d %d\n",x,y);
	changeSimple(x,y);
	printf("%d %d\n",x,y);
	changeXY(&x,&y);
	printf("%d %d\n",x,y);


	return 0;
}



5.


: ㅠㅠ <b> <b>

: . .

: . C공 .

: 감. 5 금. ㅋㅋㅋㅋㅋㅋㅋㅋㅋ

6.


  • : F4(ThreeFs + Future Action Plan) .
    • : ThreeFs, ThreeFs(), FiveFs()

      • Facts, Feelings, Findings, Future Action Plan. , , , 깨 , .
      • : " 5 .() 기 .() .(깨) .()"

  • 군. pointer !! ~ . . . . 20% 40% 40% . 고 갈 . 길게 . -

  • . () ㅋ. , ㅋㅋㅋㅋ C ㅋㅋ C과 ? , ㅋㅋ C공 . 기 1 간고 -
    • . 그 . . . 그 '' . . -
  • 고! .. @.@ ..ㅋㅋㅋ ㅠㅠ ㅎㅎㅎㅎ ! 3 ......ㅎㅎㅠㅠ 까 겁 !! ㅎ ㅔ~~! !! -
    • ! 까!!! .. 그 ... ! 계 ! MFC . -
  • 간거 ㅜㅜ 그 고 겹 ㅜ..... ㅠㅠㅠ
    고 갈게 ㅠ 그 ... -

  • ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ.... ... >_< 배열선언하고 배열이름엔 배열이 시작되는 주소값이 들어간다는 것도 배웠어요. 이제 점점 더 어려워지겠죠..흑흑 걱정이 앞서여어어어 이제 소라찬스따윜ㅋㅋㅋㅋ -
    • .. 근 기계 까... !! -


7.

  • WIKI

  • WIKI 6 7
  • .

  • 깡(), (), (), 구걸()
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:43
Processing time 0.0294 sec