דלג לתוכן
למד לתכנת — Python, Java, C, SQL ואתרים

תכנות C

מ-printf ועד ייחוסים, זיכרון ומבני נתונים — כתוב בדפדפן שלך, ארגן וRun במחשבים שלנו.

  • 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