{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

c언어프로그래밍&

C언어프로그래밍&

Info icon This preview shows pages 1–12. Sign up to view the full content.

View Full Document Right Arrow Icon
언언 언언언언언언 언언 언언언 , 언언언 , 언언언 언언 언언 & 언언 언언 언언언언언
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
C 언언 언언 언언 언언 & 언언 언언 언언언언언
Image of page 2
확확 확확 - 1 1 언언 1972 언 언언 언 언언언언 Dennis Ritche 언 언언 언언 언언언언 언언언언언 언언언 언언언언 90% 언언언 C 언언언 언언 B 언언언 언언언언 C 언언언 언언 ALGOL -> CPL -> BCPL -> B -> C -> C++ -> Java, Python,… 언언 언언 (middle-level) 언언언 언언언언 언언 언언언 언언 언언언 언언언 언언언 언언 . 언언언언언언 언언 언언 언언언언 , 언언 언언언 언언 언언언 언언언 언언언 언언 . 언언언 (portability) 언 언언 언언
Image of page 3

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
확확 확확 – 2, 3 2 A. 언언언언언 (preprocessor) B. 언언 언언 언언 (IDE : Integrated Development Environment) C. 언언언 , 언언언 D. 언언언언 (;) 3 언언언언언 Main 언언
Image of page 4
확확 확확 - 4 4 언언언언 언언 언언 언언언 언언언언 언언 언언언언 언언언 언언 언언 언언 언언 언언 언언 언언 언언언 언언언언언 언언언언 언언 언언언언 언언 언언언 언언 언언 언언언 언언 언언언언언 언언언 언언언언 언언언언언 언언언 언언언 언언 언언언 언언언언 언언언 언언 언언언 언언언언 , 언언언 언언언 언언 언언언 언언언 언언언언 언언 언언언 , 언언언언언 언언언언 언언언 언언
Image of page 5

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
확확 확확 - 5 5 언언언언 언언 (editing) 언언언언 언언언언 언언 언언언언 (compiling) 언언언언언 언언언언언 언언언언언 언언 언언언언언 언언 언언 (linking) 언언언 언언 언언언언언 언언 언언언 언언언언언 언언언 . 언언 언언 언언언언언 언언언언언 언언언 언언언언 언언언언언 언언 언언 (executing)
Image of page 6
확확 확확 1, 2 1 2 #include <stdio.h> #include <stdio.h> int main(void) int main(void) { { printf(“ printf(“ 언언언 언언언 , 200602002”); , 200602002”); return 0; return 0; } } #include #include < < stdio.h stdio.h > > int main(vo int main(vo i i d) d) { { printf( printf( 언언언언언 언언언언언 , C , C 언언 언언 \n \n ); ); return 0; return 0; } }
Image of page 7

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
언 언언언 언언언언 언언언 언언 언언 & 언언 언언 언언언언언
Image of page 8
확확 확확 – 1, 2, 3 1 A. stdio.h B. 언언언 (macro), 언언 (comment) C. 언언언 (operator), 언언언언 (operand) D. 언언언언언 언언 , 언언언 언언 언언 2 int number; 3 k -= 2; k *= 2; k /= 2; k %= 2;
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
확확 확확 – 4, 5 4 5 if (a % 2 == 1) if (a % 2 == 1) printf(“ printf(“ 언언언언언 언언언언언 .\n”); .\n”); else else printf(“ printf(“ 언언언언언 언언언언언 .\n”); .\n”); int test(float); int test(float);
Image of page 10
확확 확확 - 1 1 #include <stdio.h> #include <stdio.h> int main(void) int main(void) { { int month = 0; int month = 0; scanf(“%d”,&month); scanf(“%d”,&month);
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern