Skip to content

Simple implementations made in C to practice different concepts

Notifications You must be signed in to change notification settings

lross2k/practice-in-c89

Repository files navigation

Practice in C89

This will be my way of learning and practicing the basics in different languages, (simple tasks to test multiple language features) C was the first one bc I like it and 89 bc this way I can compare it to modern C later on.

I don't intend to reinvent the wheel, I just want to know how it works.

DONE

Basic language usage

  • The basics (unions, pointers, etc...)
  • Function pointers
  • Generic function arguments
  • Variable argument lists
  • Emulating methods inside structs
  • Static and Dynamic linking
  • Use <pthread.h>

Algorithms

  • Binary search
  • Selection sort
  • Insert sort
  • Merge sort
  • Quick sort
  • Iterative factorial
  • Recursive factorial
  • Power by recursion
  • Breadth-First search (BFS)

Data structures

  • Linked list
  • Queue list
  • Basic graph
  • Hash table
  • Stack
  • Binary tree

Programs/utils

  • Basic Terminal Drawing (BTD) library
  • Draw Sierpinski Gasket by recursion
  • Palindrome word checker

TODO

Basic language usage

  • Basic sockets test

Algorithms

  • Fibonacci numbers

About

Simple implementations made in C to practice different concepts

Topics

Resources

Stars

Watchers

Forks