TanhaDarKhaneh icon indicating copy to clipboard operation
TanhaDarKhaneh copied to clipboard

Learn to code with C in your home :house: :face_with_thermometer: :mask:

Tanha Dar Khaneh (a.k.a Home Alone)

GitHub Workflow Status GitHub Workflow Status

Introduction

Coronavirus makes all of us stay home and cancel all classes. Here we want to demonstrate C programming with example projects and codes. These codes have companion videos that are available on youtube. These materials can be used with C Programming Lectures.

Review

These videos reviews on some important points of C programming practically.

Projects

Phone Book :iphone:

Phone book application stores user identification and phones as integers. It has an uncomplicated menu, and users can add, get, and remove entities.

  1. Write a simple version only with Loop and Decision.Video
  2. Use functions to reduce the complexity of code. Video

Cops and Robber :police_car:

Some cops want to catch a rubber, and we want to simulate it. There is a square table that cops and robber move in its cells. Each cell can contain only one person, and when a cop moves into a robber's cell, the robber will be arrested. Use a random function for their movement.