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.0367 sec