Skip to content

Latest commit

 

History

History
45 lines (38 loc) · 644 Bytes

README.md

File metadata and controls

45 lines (38 loc) · 644 Bytes

C Programming 101

Example code for C programming study

How to Clone, Build, and Run

Clone

git clone https://github.com/Tetrahedrite/c_programming_101.git # Clone git repository to 'c_programming_101'
cd c_programming_101 # Change directory to 'c_programming_101'

Build

  1. Build all C files in every chapter.
make
  1. Build all C files in specific chapter.
cd ch1
make
  1. Build specific C file.
cd ch1
make 1_p01

Run

  1. Run all files in every chapter.
make run
  1. Run all files in specific chapter.
cd ch1
make run
  1. Run specific file.
cd ch1
./1_p01.out