U E D R , A S I H C RSS

새싹교실/2011/Pixar/3월


1. 3 16

  • 6 6 .
  • IceBreaking : .
  • .
  • .
    • , 하 , 행학 , C .
  • .

2. 3 23

  • 6 5 .
  • IceBreaking : .
  • Keywords : , , printf 함, main 함, #include, assert 함, ,

2.1.

2.1.1.

  • 0 1 화할 . 해하 .
  • . 해할 .

2.1.2. Hello world!

int main() {
  printf("Hello world!");
  return 0;
}
  • main 함 . main 함 .
  • ; .
  • printf 함 .
  • 행해 .
    • printf 함 !

#include <stdio.h>

int main() {
  printf("Hello world!");
  return 0;
}
  • printf stdio.h . #include <stdio.h> .
    • stdio.h .
  • ?
    • ~ main 함 #include <stdio.h> .
    • ; ; .
    • .

2.1.3. 3+4 ?

  • 3+4 ? ?

#include <stdio.h>

int main() {
  printf("%d", 3+4);
  return 0;
}
  • 3+4 .

2.1.4. , 3+4 7 ?

  • 3+4 . 3+4 7 ?

#include <assert.h>

int main() {
  assert(3+4 == 7);
  return 0;
}
  • assert '' . assert(3+4 == 7); 3+4 7!!! .
  • 3+4 7 .

#include <assert.h>

int main() {
  assert(3+4 == 8);
  return 0;
}
  • 3+4 8!!! . ? .
  • , assert assert assert.h . #include <assert.h> . printf !
  • == . '' .

2.1.5. , ?

  • , . .

2.2.


  • .
    1. C 4 행해 ㅜㅜ C . 행했 ㅠㅠ
    2. . . 히 키 ~
    3. . , . -
  • 1 한 Hello World assert함 . C . C . . -

  • C ㅎㅎ ?? . . C ㅠㅠ.,... .. ㅎㅎ ㅠㅠ 해!! -

3. 3 24

3.1.





    • #include < >
    • #include " "

  • myheader.h

}
  • myprog.c

int main {
return 0;
#include "myheader.h"

3.2.

  • , , , .
  • c ! . . #include #define . 학 .. 히 하!!.. --

  • ㅠㅠ. 1 ㅠㅠ. 한테 ㅎ_ㅎ. int하 char, , ㅠㅠ. ㅋㅋㅋ. 크크. --

  • 행하 . . 5 행했 . 행하. -

4. 3 30

4.1.








4.2.

  • . . . . - 한 -

  • 활 한 . . 2 printf assert C ? 히 해 C ~~~~~~--

  • c . . , assert & | printf 히 하~! . --

5. 3 31

Xper 3 .
  • ? ㅋㅋ -
    • ㅋㅋㅋㅋ -

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