Skip to content

erick-hz/comprehensive-guide-to-c-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 

Repository files navigation

Comprehensive Guide to C Programming

This repository contains various C programming examples, demonstrating fundamental concepts such as variables, pointers, data structures, and more. It's designed to help beginners and intermediate programmers understand the core aspects of C programming

Getting Started

To get started with the examples in this repository, you will need a C compiler installed on your system. GCC (GNU Compiler Collection) is a popular choice for many C programmers.

Prerequisites

  • A C compiler like GCC
  • An IDE or text editor (e.g., Visual Studio Code, Code::Blocks)

Installation

  1. Install GCC (if not already installed):

    • Windows: Use a package manager like MinGW or Cygwin.
    • Linux: GCC is usually pre-installed. If not, it can be installed via your distribution's package manager.
    • macOS: Install Xcode from the App Store, which includes GCC.
  2. Clone the repository:

    git clone https://github.com/erick-hz/comprehensive-guide-to-c-programming
  3. Navigate to the repository:

    cd comprehensive-guide-to-c-programming
  4. Compile an example program:

    gcc hello.c -o hello
  5. Run the compiled program:

    ./hello

Releases

No releases published

Packages

No packages published

Languages