U E D R , A S I H C RSS

새싹교실/2012/우리반


1.

  • , ,,

2. feedback

  • ZeroPage 는만 4F(ThreeFs + Future Action Plan) feedback .
    • Facts, Feelings, Findings, Future Action Plan. , , 느낀 , , .
    • 를 들 를 먹 면 : " 5만는 돈를 먹.() 대를 는데 .(느낌) 만 보 .() 는 미리 .( )"
      • ? 믿
  • feedback .
    • ZeroWiki . 를 만 .
    • . .

  • ZeroWikiMoniWiki Engine 며 Google Chrome Mozila Firefox, Safari보는 Internet Explorer .

3.1. 1(3/16)

3.1.1.

O
X
O
O

3.1.2.

  • 는 방
  • Compile란?
  • ?
  • C밍 Java C++
-> 10010011 ()
-> 1110010 (AND) (블리)

C (high level )
"hello"
#include ----- => source=code
coding

3.1.3.

  • Coding, ?

    • ??? -
    • ! -
  • 는데, 는 느낌 . 듣 . -
  • 면 C 듣는데 ? -
  • 는데 는데 . ! -

3.2. 2(3/20)

3.2.1.

O
O
O
O

3.2.2. Ice Breaking

  • -
  • . . 는데 .-
  • . . 따. . ..

3.2.3.

  • .

int main()
{
}
  • C .
  • 밍 문 , (;) .
  • printf를 는 방, %d란 무.
  • #include는 . .
  • = 란 무 == 란 무.
  • 란 무.
  • ?? 는데??

3.2.4.

  • 를 내 .
    1.int a=10,b=12,temp; 는데 a b , b a .

//!!
#include <stdio.h>
int main(){
  int a=10,b=12,temp;

  //
  
  printf("%d %d",a,b);
  //  12 10 ?

  return 0;//.
}
2.란 무, int, float,char,double .(모르면 물~ :) )
3. , .

#include <stdio.h>
int main(){
  int a=21,b=2,c;
  a=a*b;
  c=a+b;
  printf(", . 1+3=%d",c+b);

  return 0;
}
4.Compile? 미를 .

3.2.5.

  • 보람 . -
    ( : .)
  • 를 배 .. .. ..
    ( : .) -
  • 보는 듯.. ~!!
( compile란 High level language , Machine language() .-
  • .... 1 . 러면 는데 . ~ ! + -

3.3. 3(3/28)

3.3.1.

O
O
O
--^

3.3.2. Ice Breaking


3.3.3.

  • %d, %c, , , if-else,scanf,printf, else if

#include <stdio.h>

int main(){
  char a='d';
  int b;
  char e=a;
  printf("%c",e);

  return 0;
}
?

    • 180 , . 런데 164는 , 171 , 187 .

#include <stdio.h>

int main(){
  int height;
  scanf("%d",&height);
  if(164==height) printf("");
  else if(171==height) printf("");
  else if(187==height) printf("");
 ....
  return 0;
}


#include <stdio.h>


int main()
{
	int a=164, height;

	scanf("%d",&height);
	
	if(164==height) {
		printf(" ");
	}
	if (171==height){
		printf("");
	}else if(187==height){
		printf("");
	}else if(height<180){
		printf("");
	}else{
		printf("");
	}
	return 0;
	
}

3.3.4.

는 1번 2번 면 됩

1.(, %d, %c, , if-else, scanf, printf, else if, ==, =, +=,>) . . , . A4 ~.
  • , . jereneal20@.com 보내.
2-1.switch, case문 .( 램)
2-2.char printf("%c%c%c%c%c",????); Woori . 는 jereneal20@.com 보내.

  • 모르는 면 물보면 모르면 . .^^
  • ~

3.3.5.

  • 6p . if else if, temp, scanf, printf . scanf는 만 &만 . if를 배 . . ... ㅎㅎㅎㅎㅎ -
  • 보면 printf scanf temp if else if를 . 리는 만, . c . , -
    • 보면 내 . -
  • . 빨리 복문는데 .. 떴는데 . 를 내 눈 ..... -

3.4. 4(4/4)

3.4.1.

O
O
O
O

3.4.2.


3.4.3. Ice Breaking

  • . . ( ?) ~ + 농 -
  • . ~_~ 봤는데, . 는데... NXT는데 -

3.4.4.


  • : %d

    • ------ row
    • \n
  • Linux - Ubuntu
    • cd change directory
    • ls
    • gcc

#include <stdio.h>
int main(){
int a=2;
a+=3; // a=a+3;
return 0;
}
  • (2!=3) =>
  • ASCII Code => char

#include <stdio.h>
int main(){
	char a='a',c='d';
	c=a+1;

	printf("%c",c);

	return 0;
}
?
switch(height){
	case 171:
		printf("미");
	case 187:
		printf("");
	default:
		printf(" ");
}

  • a++;, ++a;

for(i=0;i<=100;i++){
	for(j=0;j<100;j++) 
	printf("%d\n",i);
}
  • for문 -> 1243 243 243

  • Linux, switch, gcc, while, for.

3.4.5.

  • 면 4 8 .
    • 를 jereneal20@.com 보내 ~
  • 1: .

1 2 3 4 5 6 7 8 9 10
2 4 6 8 10 12 14 16 18 20
3 6 9 12 15 18 21 24 27 30
.
.
.
  • 2: C 보내.
  • : .
    • (5를 면 5-4-3-2-1 , 4를 면 4-3-2-1 방.)
    • !

*****
 ****
  ***
   **
    *
  • , : while for문 .

1112111
1112111
1112111
3333333
1112111
1112111
1112111
  • 모르면 물.

3.4.6.

  • - switch while. while 머리를 _ 를 받만... ... c부를 . switch case는 ... 데... 냐면 if문 switch를 .
  • - switch, while, for. 복문 ... * ..... 는데 ..
  • - switch, while, for. ; . 많 .. ..

3.5. 4-2(보) (4/9)

  • c는 복 .. ..!
  • for문 while . 면 더 . 보람 ^^()

3.6. 5(4/11,12)

3.6.1.

O
O
O
O

3.6.2.

  • !

3.6.3.

  • . scope ( , ), 매.
    • .

#include <stdio.h>

int function(int fa,int fb);
int funct(int fa,int fb);

int main()
{
	int a,j,b;
	
	a=10;
	b=12;
	for(j=0;j<5;j++){
		a+=function(a,b);
	}
}
int funct(int fa,int fb)
{
	
	
	return fa+1;
}

int function(int fa,int fb)
{
	
	fa=funct(fa,fb);
	
	printf("%d %d\n",fa,fb);
	
	
	return 0;
}

3.6.4.

  • do-while, , return, scope, {}
  • WinAPI for .

3.6.5.

  • 빨리 를 배. int main() . 는 부 . ^^ -
    • ㅇㅅㅇ -
    • - . 는데 부르 부르 do while << 도 배웠는데 <<할 때 2진수까지 생각해야해서 화났다.
    • c ...-

3.7. 6(4/18)

3.7.1.

O
O
O
O

3.7.3.

  • 2010 봉봉 , .
  • ppt 리.
    • int main( void ) - main indicate that main is a program building block called a function
    • printf,\n,\t,\a,\\,\",return 0; in main,compile, link, scanf, int ==> variables, c=a+b;, %d, + => operator, %,if, ==, !=, >=, else, sequential execution, for, ab:c, total variable, counter variable, garbage value, (int), , ++a a++ pre/post in/decrement operator, math.h // pow,%21.2d, case switch, break, continue, logical operator || && ! 등.

3.7.4.

  • .

3.8. 7(5/2)

3.8.1.

3.8.3.


3.8.5.

scope를 배. . , . 면 뒤 . 먼, 뒤 . --
  • . 배 0부 . . -

3.9. 8(5/9)

3.10. 9(5/24)

3.10.1.

O
O

3.10.2.

  • Search, Sort, Array.
  • Hanoi . --;

3.11. 9(5/31)

3.11.1.

O
O

3.11.2.

  • Pointer, 동, 2
  • ??, 2??

3.11.3.

  • 2x2
  • int* a; int b;, &a,a,*a,b,&b


void swap(int* a,int* b)
{
	int temp;
	temp=*a;
	*a=*b;
	*b=temp;
}
int main(){
	int c,d;
	c=4;
	d=5;
	
	swap(&c,&d);
	printf("%d %d",c,d);
	
	
	return 0;
}

3.12. 10(6/13)



  • swap

3.12.1.

  • 는데 를 보면 는데, . 는데, 배 . 마 만.. C -


Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:47
Processing time 0.0639 sec