Giter Club home page Giter Club logo

lecture-code's Introduction

run-tests

lecture-code

Ο βασικός κώδικας που χρησιμοποιείται στις διαλέξεις του μαθήματος Δομές Δεδομένων και Τεχνικές Προγραμματισμού.

Παράδειγμα χρήσης

cd programs/cat

make cat
./cat Makefile

make io_test
./io_test

make clean

Project structure

  • include

    Κοινόχρηστα include files (μπορούν να χρησιμοποιηθούν από οποιοδήποτε πρόγραμμα ή module). Περιγράφουν τις λειτουργίες κάθε Abstract Data Type. Πχ ένα πρόγραμμα που θέλει να χρησιμοποιήσει ένα Vector κάνει #include "ADTVector.h".

  • lib

    Κοινόχρηστες βιβλιοθήκες. Εκτελώντας make σε αυτό το directory παράγεται η βιβλιοθήκη k08.a η οποία περιέχει υλοποιήσεις από όλα τα ADTs.

  • programs

    Εκτελέσιμα προγράμματα. Ενα πρόγραμμα που χρησιμοποιεί κάποιο ADT, πχ το Vector, θα πρέπει

    1. να κάνει #include "ADTVector.h"
    2. να γίνει link με το lib/k08.a (ή με κάποια συγκεκριμένη υλοποίηση του ADT)
  • modules

    Κοινόχρηστα modules, παρέχουν υλοποιήσεις των διαφόρων ADTs. Κατηγοριοποιούνται με βάση τη δομή δεδομένων που υλοποιεί το ADT, πχ το UsingDynamicArray/ADTVector.c υλοποιεί ένα Vector μέσω Dynamic Array.

  • tests

    Tests για κοινόχρηστα modules (ένα για κάθε ADT). Οποιαδήποτε υλοποίηση ενός ADT οφείλει να περνάει το αντίστοιχο test. Για να φτιάξουμε ένα εκτελέσιμο κάνουμε link το test με την υλοποίηση που θέλουμε να ελέγξουμε, πχ το ADTVector_test.o με το UsingDynamicArray/ADTVector.o.

lecture-code's People

Contributors

chatziko avatar cmaraziaris avatar msiampou avatar nikosgalanis avatar vaggelisd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.