Programación en C
Desde printf hasta punteros, memoria y estructuras de datos — escribe en tu navegador y compila y ejecuta en nuestros servidores.
- c
- 23 Lecciones
- 23 videos
- Se ejecuta en tu navegador
En este dispositivo: 0 de 23 lecciones completadas
Cada lección funciona en su navegador: escriba código real, presione Ejecutar y las tareas se verifican solas. Gratis, sin necesidad de cuenta, con notas traducidas emparejadas con inglés.
Lecciones en este curso
27 de 27 lecciones mostradas
No se encontraron lecciones. Limpia la búsqueda o elige otro filtro.
- Fundamentos de C: main, printf y funciones C es un lenguaje compilado · La estructura básica de C · printf y tipos Lesson 1 · Tareas obligatorias 3 · ★ Video
- Variables, types, and arithmetic Every value has a type · Doing arithmetic · Integers divide differently · Reading input Lesson 2 · Tareas obligatorias 3 · ★ Video
- 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 · Tareas obligatorias 3 · ★★ Video
- Loops: while, for, and accumulation Repeating work · while loops · for loops · Accumulation and counting Lesson 4 · Tareas obligatorias 3 · ★★ Video
- Functions, parameters, and return values Why functions · Parameters and return values · void functions, and building big from small · C copies your arguments Lesson 5 · Tareas obligatorias 3 · ★★ Video
- Nested loops and patterns A loop inside a loop · Rows and columns · Building a line, then a block · Counting with nested loops Lesson 6 · Tareas obligatorias 3 · ★★★ Video
- 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 · Tareas obligatorias 3 · ★★ Video
- 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 · Tareas obligatorias 3 · ★★★ Video
- 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 · Tareas obligatorias 3 · ★★★ Video
- Array algorithms: max, count, search, average Four classic array jobs · Finding the maximum · Counting with a condition · Linear search Lesson 10 · Tareas obligatorias 4 · ★★★ Video
- 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 · Tareas obligatorias 3 · ★★★ Video
- Searching: linear and binary Two ways to search · Linear search · Why sorting enables binary search · low, high, mid Lesson 12 · Tareas obligatorias 3 · ★★★ Video
- Sorting: bubble, selection, and insertion Putting an array in order · Swapping two elements · Bubble sort · Insertion sort Lesson 13 · Tareas obligatorias 3 · ★★★★ Video
- Recursion: base case and recursive case A function that calls itself · The base case · The recursive case · Recursion over an array Lesson 14 · Tareas obligatorias 3 · ★★★★ Video
- Structs and typedef: . vs -> Grouping related data · struct and typedef · Member access with . · Through a pointer with -> Lesson 15 · Tareas obligatorias 3 · ★★★ Video
- 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 · Tareas obligatorias 3 · ★★★★ Video
- Listas encadenadas Nodes joined by pointers · A self-referential struct · head and the NULL end · Adding a node at the front Lesson 17 · Tareas obligatorias 3 · ★★★★★ Video
- Stacks and queues (array-backed) Two ways to hold items · A stack is LIFO · Array-backed stack · A queue is FIFO Lesson 18 · Tareas obligatorias 3 · ★★★★ Video
- 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 · Tareas obligatorias 3 · ★★★ Video
- Manejo de errores con códigos de retorno C has no try/except · Return a status code · Reporting the answer through an out-pointer · Sentinels for "no value" Lesson 20 · Tareas obligatorias 3 · ★★★ Video
- 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 · Tareas obligatorias 3 · ★★★ Video
- Run-length encoding (compression) Squeezing repeated data · What a "run" is · Counting a run · Building the encoded string Lesson 22 · Tareas obligatorias 3 · ★★★★ Video
- Preprocessor, const, static, and enum What runs before the compiler · #include and #define · const vs #define · static and enum Lesson 23 · Tareas obligatorias 3 · ★★★ Video
Lectura y recursos
- Una breve historia de C Where C came from · Close to the machine · The famous book · C today Lectura y recursos
- ¿Para qué se usa C What people build with C · Operating systems · Tiny computers everywhere · Databases and other languages Lectura y recursos
- Dónde aprender más Juega y practica · Lee y consulta · Más sobre este sitio · Consejo Lectura y recursos
- Configura tu computadora Run C on your own computer · Step 1 — Install a compiler · Step 2 — Install VS Code · Step 3 — Add the C/C++ extension Lectura y recursos
Open the C reference
Every topic in one place, with short examples you can run.
Dónde aprender más
- Learn-C.org Lecciones gratuitas y prácticas de C que se ejecutan en el navegador
- Exercism — Pista de C Ejercicios pequeños con comentarios amables de mentores
- HackerRank — C Problemas de práctica, desde fáciles hasta difíciles
- cppreference — C La referencia cuidadosa y gratuita para cada función de C
- The C Programming Language (K&R) El libro clásico de los creadores de C
- Visual Studio Code El editor gratuito para escribir C en tu propia computadora
- Problemas de práctica en C (este sitio) Desafíos adicionales de C para poner a prueba tus conocimientos
- AP CS A (este sitio) Aprende Java, otro pariente cercano de C