C 프로그래밍
printf에서 포인터, 메모리, 데이터 구조까지 — 브라우저에서 작성하고 our 서버에서 컴파일 및 실행하십시오.
- c
- 23 수업
- 23 videos
- 브라우저에서 실행
이 기기: 0/23 수업 완료
모든 수업은 브라우저에서 실행됩니다 — 실제 코드를 작성하고 '실행' 버튼을 누르면 과제가 자동 점검합니다. 무료이며 계정 없이 이용 가능하며, 영문과 짝지어진 번역 메모가 제공됩니다.
이 과정의 수업
27/27 수업 표시됨
일치하는 수업을 찾을 수 없습니다. 검색을 삭제하거나 다른 필터를 선택하세요.
- C 기초: main, printf, 그리고 함수 C는 컴파일 언어입니다 · C의 골격 · printf와 타입 Lesson 1 · 3 필수 과제들 · ★ 영상
- Variables, types, and arithmetic Every value has a type · Doing arithmetic · Integers divide differently · Reading input Lesson 2 · 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 필수 과제들 · ★★ 영상
- Loops: while, for, and accumulation Repeating work · while loops · for loops · Accumulation and counting Lesson 4 · 3 필수 과제들 · ★★ 영상
- 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 필수 과제들 · ★★ 영상
- 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 필수 과제들 · ★★★ 영상
- 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 필수 과제들 · ★★ 영상
- 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 필수 과제들 · ★★★ 영상
- 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 필수 과제들 · ★★★ 영상
- Array algorithms: max, count, search, average Four classic array jobs · Finding the maximum · Counting with a condition · Linear search Lesson 10 · 4 필수 과제들 · ★★★ 영상
- 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 필수 과제들 · ★★★ 영상
- Searching: linear and binary Two ways to search · Linear search · Why sorting enables binary search · low, high, mid Lesson 12 · 3 필수 과제들 · ★★★ 영상
- Sorting: bubble, selection, and insertion Putting an array in order · Swapping two elements · Bubble sort · Insertion sort Lesson 13 · 3 필수 과제들 · ★★★★ 영상
- Recursion: base case and recursive case A function that calls itself · The base case · The recursive case · Recursion over an array Lesson 14 · 3 필수 과제들 · ★★★★ 영상
- Structs and typedef: . vs -> Grouping related data · struct and typedef · Member access with . · Through a pointer with -> Lesson 15 · 3 필수 과제들 · ★★★ 영상
- 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 필수 과제들 · ★★★★ 영상
- 연결된 리스트 Nodes joined by pointers · A self-referential struct · head and the NULL end · Adding a node at the front Lesson 17 · 3 필수 과제들 · ★★★★★ 영상
- Stacks and queues (array-backed) Two ways to hold items · A stack is LIFO · Array-backed stack · A queue is FIFO Lesson 18 · 3 필수 과제들 · ★★★★ 영상
- 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 필수 과제들 · ★★★ 영상
- 리턴 코드를 이용한 오류 처리 C has no try/except · Return a status code · Reporting the answer through an out-pointer · Sentinels for "no value" Lesson 20 · 3 필수 과제들 · ★★★ 영상
- 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 필수 과제들 · ★★★ 영상
- Run-length encoding (compression) Squeezing repeated data · What a "run" is · Counting a run · Building the encoded string Lesson 22 · 3 필수 과제들 · ★★★★ 영상
- Preprocessor, const, static, and enum What runs before the compiler · #include and #define · const vs #define · static and enum Lesson 23 · 3 필수 과제들 · ★★★ 영상
독해 및 자료
- C의 짧은 역사 Where C came from · Close to the machine · The famous book · C today 독해 및 자료
- C가 사용되는 분야 What people build with C · Operating systems · Tiny computers everywhere · Databases and other languages 독해 및 자료
- 더 배우는 곳 실습 및 연습 · 참고 및 읽기 · 이 사이트의 추가 정보 · 팁 독해 및 자료
- 컴퓨터 설정하기 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.
더 배우는 곳
- Learn-C.org 브라우저에서 실행할 수 있는 무료 실습 C 수업
- Exercism — C 트랙 친절한 멘터 피드백이 있는 작은 연습 문제
- HackerRank — C 쉬운 것부터 어려운 것까지 연습 문제
- cppreference — C 모든 C 함수를 위한 세심하고 무료 참고 자료
- The C Programming Language (K&R) C 언어 개발자가 쓴 고전 책
- Visual Studio Code 개인 컴퓨터에서 C를 작성하기 위한 무료 에디터
- C 연습 문제 (이 사이트) 자신을 테스트하기 위한 추가 C 도전 과제
- AP CS A (이 사이트) C와 매우 유사한 다른 언어인 Java 배우기