Skip to content · ⁨ข้ามไปยังเนื้อหา⁩

← Learn to Code — Python, Java, C, SQL & Web · ⁨เรียนรู้การเขียนโค้ด — Python, Java, C, SQL & Web⁩

C Programming · ⁨การเขียนโปรแกรม C⁩

From printf to pointers, memory, and data structures — compile and run in your browser. · ⁨จาก printf ไปยังพอยเตอร์, หน่วยความจำ และโครงสร้างข้อมูล — Compile และรันในเบราว์เซอร์ของคุณ⁩

c 23 Lessons · ⁨บทเรียน⁩

Every lesson runs in your browser — write real code, press Run, and the tasks check themselves. Free, no account needed, with translated notes paired with English. · ⁨ทุกบทเรียนทำงานบนเบราว์เซอร์ของคุณ — เขียนโค้ดจริง กด Run และงานจะตรวจสอบตัวเองอัตโนมัติ ฟรี ไม่ต้องสมัครบัญชี พร้อมบันทึกคำแปลคู่กับภาษาอังกฤษ⁩

Start the course · ⁨เริ่มหลักสูตร⁩

Lessons in this course · ⁨บทเรียนในหลักสูตรนี้⁩

  1. history A short history of C · ⁨ประวัติศาสตร์สั้นๆ ของ C⁩ Reading and resources
  2. usage What C is used for · ⁨C ถูกใช้งานอะไร⁩ Reading and resources
  3. resources Where to learn more · ⁨แหล่งเรียนรู้เพิ่มเติม⁩ Reading and resources
  4. setup Set up your computer · ⁨ตั้งค่าคอมพิวเตอร์ของคุณ⁩ Reading and resources
  5. 01 C basics: main, printf, and functions · ⁨พื้นฐาน C: main, printf, และฟังก์ชัน⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  6. 02 Variables, types, and arithmetic · ⁨ตัวแปร, ประเภท, และการคำนวณทางคณิตศาสตร์⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  7. 03 Booleans and selection: if, else, switch · ⁨布尔值和选择: if, else, switch⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  8. 04 Loops: while, for, and accumulation · ⁨Loops: while, for, และการสะสม⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  9. 05 Functions, parameters, and return values · ⁨ฟังก์ชัน, พารามิเตอร์, และค่าที่ส่งกลับ⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  10. 06 Nested loops and patterns · ⁨ลูปซ้อนและรูปแบบ⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  11. 07 1-D arrays: store, index, and traverse · ⁨1-D arrays: การเก็บข้อมูล, ดึงใช้ด้วย index, และการ遍历 (traverse)⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  12. 08 Pointers: &, *, and pass-by-pointer · ⁨Pointers: &, *, และ pass-by-pointer⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  13. 09 Strings: char arrays and the null terminator 3 required tasks Video · ⁨วิดีโอ⁩
  14. 10 Array algorithms: max, count, search, average 4 required tasks Video · ⁨วิดีโอ⁩
  15. 11 2-D arrays: working with a grid · ⁨2-D arrays: การทำงานกับตาราง⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  16. 12 Searching: linear and binary · ⁨การค้นหา: Linear และ Binary⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  17. 13 Sorting: bubble, selection, and insertion · ⁨Sorting: bubble, selection, และ insertion⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  18. 14 Recursion: base case and recursive case · ⁨Recursion: Base case และ Recursive case⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  19. 15 Structs and typedef: . vs -> · ⁨Structs และ typedef: . vs ->⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  20. 16 Dynamic memory: malloc, free, and realloc · ⁨Dynamic memory: malloc, free, และ realloc⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  21. 17 Linked lists · ⁨ลิงค์ลิสต์ (Linked lists)⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  22. 18 Stacks and queues (array-backed) · ⁨Stacks และ queues (ใช้ array รองรับ)⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  23. 19 Text files: write then read · ⁨Text files: เขียนแล้วอ่าน⁩ 2 required tasks Video · ⁨วิดีโอ⁩
  24. 20 Error handling with return codes 3 required tasks Video · ⁨วิดีโอ⁩
  25. 21 Bits, binary, and bitwise operators · ⁨บิต, บินารี และอ运营商แบบบิต⁩ 3 required tasks Video · ⁨วิดีโอ⁩
  26. 22 Run-length encoding (compression) · ⁨การเข้ารหัสแบบความยาวซ้ำ (การบีบอัด)⁩ 2 required tasks Video · ⁨วิดีโอ⁩
  27. 23 Preprocessor, const, static, and enum · ⁨พรีโปรเซสเซอร์, const, static และ enum⁩ 3 required tasks Video · ⁨วิดีโอ⁩

Language reference · ⁨อ้างอิงภาษา⁩

/know/reference/c

Log in or create account · ⁨เข้าสู่ระบบหรือสร้างบัญชี⁩

IGCSE, A-Level & AP