Skip to content

Latest commit

 

History

History
executable file
·
80 lines (61 loc) · 1.94 KB

File metadata and controls

executable file
·
80 lines (61 loc) · 1.94 KB

algorithms_and_data_structures

build status

Objectives

  • A toy implementation of foundational data structures and algorithms at a lower level of the stack.

Project Structure

  • docs: Project documentation lives in here.
  • src: Each data structure is an independent module.

Dependencies

Setup Instructions

Installation

Clone Repository

git clone git@github.com:praisetompane/algorithms_and_data_structures.git

Build

make build

Test

make test

Install

sudo make install

Uninstall

sudo make uninstall

Usage

#include "array.h"
#include <stdio.h>

int main()
{
    printf("Test creating, adding and reading from Integer Array\n");
    Array numbers = array(INT, 10);

    int number = 2;
    add(&numbers, 0, &number);

    int read_int;
    read(&numbers, 0, &read_int);
    printf("\n");
}

Git Conventions