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