Skip to content

programming101dev/c-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-examples Repository Guide

Welcome to the c examples repository. This guide will help you set up and run the provided scripts.

Table of Contents

  1. Cloning the Repository
  2. Prerequisites
  3. Running the change-compiler.sh Script
  4. Running the build.sh Script

Cloning the Repository

Clone the repository using the following command:

git clone https://github.com/programming101dev/c-examples.git

Navigate to the cloned directory:

cd c-examples

Ensure the scripts are executable:

chmod +x *.sh

Prerequisites

  • to ensure you have all of the required tools installed, run:
./check-env.sh

If you are missing tools follow these instructions.

Running the change-compiler.sh Script

Tell make which compiler you want to use:

./change-compiler.sh -c <compiler>

To the see the list of possible compilers:

cat supported_c_compilers.txt

Running the build.sh Script

To build the program run:

./build.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •