RealTrippR / clegs

Learn C a là rustlings!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🤓 clegs

Learn C a là rustlings!

Installation

I highly, highly recommend working through these C tutorials "in the cloud" through GitHub Codespaces. This service is free for (at the time of writing) up to 60 hours per month. Working through these exercises in a GitHub Codespace allows you to work in a Linux environment with all debugging tools and compilers automatically installed. This removes potential pain paints when compiling these programs on different operating systems. Codespaces help you focus on learning C, not debugging operating-system-specific issues.

To use a GitHub Codespace, you'll need a GitHub account. Then...

  1. Fork this repository using the "fork" button at the top-right of the repository's webpage.
  2. Click the green "Code" button, then select a Codespace.
    • You can run this Codespace in your browser, or in your Visual Studio Code installation on your computer using the GitHub Codespaces extension.

Usage

It would be so cool to have an automated script (like rustlings) that guides each student through the exercises, and offers help along the way. Unfortunately, that script does not exist yet! Honestly, it may never exist. That's okay --- VSCode offers a pretty user-friendly debugging experience. I recommend using Visual Studio Code with the C/C++ Extension Pack, and "running" the programs under /exercises that you're most interested in. All program files are grouped by core concept, and each file's name describes the specific content it explores.

Want to work through all of them? I recommend working through the exercises in the following order.

Exercises

Primitive Types

User Types (Structures)

Arrays

Pointers

Memory

Strings

Streams

Applications

About

Learn C a là rustlings!

License:MIT License


Languages

Language:C 100.0%