본문 바로가기
코딩 배우기 — Python, Java, C, SQL & 웹 개발

C 프로그래밍

printf에서 포인터, 메모리, 데이터 구조까지 — 브라우저에서 작성하고 our 서버에서 컴파일 및 실행하십시오.

  • c
  • 23 수업
  • 23 videos
  • 브라우저에서 실행

이 기기: 0/23 수업 완료

과정 시작

모든 수업은 브라우저에서 실행됩니다 — 실제 코드를 작성하고 '실행' 버튼을 누르면 과제가 자동 점검합니다. 무료이며 계정 없이 이용 가능하며, 영문과 짝지어진 번역 메모가 제공됩니다.

이 과정의 수업

27/27 수업 표시됨

  1. C 기초: main, printf, 그리고 함수 C는 컴파일 언어입니다 · C의 골격 · printf와 타입 Lesson 1 · 3 필수 과제들 · ★ 영상
  2. Variables, types, and arithmetic Every value has a type · Doing arithmetic · Integers divide differently · Reading input Lesson 2 · 3 필수 과제들 · ★ 영상
  3. Booleans and selection: if, else, switch True and false in C · Comparing and combining · if / else if / else · switch: choosing among many values Lesson 3 · 3 필수 과제들 · ★★ 영상
  4. Loops: while, for, and accumulation Repeating work · while loops · for loops · Accumulation and counting Lesson 4 · 3 필수 과제들 · ★★ 영상
  5. Functions, parameters, and return values Why functions · Parameters and return values · void functions, and building big from small · C copies your arguments Lesson 5 · 3 필수 과제들 · ★★ 영상
  6. Nested loops and patterns A loop inside a loop · Rows and columns · Building a line, then a block · Counting with nested loops Lesson 6 · 3 필수 과제들 · ★★★ 영상
  7. 1-D arrays: store, index, and traverse A row of boxes · Indexing from 0 · Traversing with a loop · Arrays don't know their own length Lesson 7 · 3 필수 과제들 · ★★ 영상
  8. Pointers: &, *, and pass-by-pointer A problem from last lesson · Every variable has an address · A pointer holds an address · Out-pointers: giving back more than one answer Lesson 8 · 3 필수 과제들 · ★★★ 영상
  9. Strings: char arrays and the null terminator Text is an array of chars · The invisible terminator '\0' · Walking a string · The <string.h> toolbox Lesson 9 · 3 필수 과제들 · ★★★ 영상
  10. Array algorithms: max, count, search, average Four classic array jobs · Finding the maximum · Counting with a condition · Linear search Lesson 10 · 4 필수 과제들 · ★★★ 영상
  11. 2-D arrays: working with a grid A grid of boxes · Rows then columns (row-major) · Passing a 2-D array · Working one row at a time Lesson 11 · 3 필수 과제들 · ★★★ 영상
  12. Searching: linear and binary Two ways to search · Linear search · Why sorting enables binary search · low, high, mid Lesson 12 · 3 필수 과제들 · ★★★ 영상
  13. Sorting: bubble, selection, and insertion Putting an array in order · Swapping two elements · Bubble sort · Insertion sort Lesson 13 · 3 필수 과제들 · ★★★★ 영상
  14. Recursion: base case and recursive case A function that calls itself · The base case · The recursive case · Recursion over an array Lesson 14 · 3 필수 과제들 · ★★★★ 영상
  15. Structs and typedef: . vs -> Grouping related data · struct and typedef · Member access with . · Through a pointer with -> Lesson 15 · 3 필수 과제들 · ★★★ 영상
  16. Dynamic memory: malloc, free, and realloc Stack memory vs heap memory · malloc and sizeof · free and memory leaks · Growing an array with realloc Lesson 16 · 3 필수 과제들 · ★★★★ 영상
  17. 연결된 리스트 Nodes joined by pointers · A self-referential struct · head and the NULL end · Adding a node at the front Lesson 17 · 3 필수 과제들 · ★★★★★ 영상
  18. Stacks and queues (array-backed) Two ways to hold items · A stack is LIFO · Array-backed stack · A queue is FIFO Lesson 18 · 3 필수 과제들 · ★★★★ 영상
  19. Text files: write then read Files keep data after the program ends · Opening and closing · Writing with fprintf · Reading with fscanf and fgets Lesson 19 · 3 필수 과제들 · ★★★ 영상
  20. 리턴 코드를 이용한 오류 처리 C has no try/except · Return a status code · Reporting the answer through an out-pointer · Sentinels for "no value" Lesson 20 · 3 필수 과제들 · ★★★ 영상
  21. Bits, binary, and bitwise operators Numbers are bits · Place value and powers of two · Reading a bit with >> and & 1 · The bitwise operators Lesson 21 · 3 필수 과제들 · ★★★ 영상
  22. Run-length encoding (compression) Squeezing repeated data · What a "run" is · Counting a run · Building the encoded string Lesson 22 · 3 필수 과제들 · ★★★★ 영상
  23. Preprocessor, const, static, and enum What runs before the compiler · #include and #define · const vs #define · static and enum Lesson 23 · 3 필수 과제들 · ★★★ 영상

독해 및 자료

  1. C의 짧은 역사 Where C came from · Close to the machine · The famous book · C today 독해 및 자료
  2. C가 사용되는 분야 What people build with C · Operating systems · Tiny computers everywhere · Databases and other languages 독해 및 자료
  3. 더 배우는 곳 실습 및 연습 · 참고 및 읽기 · 이 사이트의 추가 정보 · 팁 독해 및 자료
  4. 컴퓨터 설정하기 Run C on your own computer · Step 1 — Install a compiler · Step 2 — Install VS Code · Step 3 — Add the C/C++ extension 독해 및 자료
Open the C reference Every topic in one place, with short examples you can run.

더 배우는 곳

로그인 또는 계정 만들기

IGCSE, A-Level & AP