Giter VIP home page Giter VIP logo

bageld's Introduction

Bagel DB

Bagel DB - An enterprise-grade high-performance, network enabled system for the organization, storage, and retrieval of bagel information

John V. Kew Assignment 2 CPEx317 w/ Dr. Nico Winter, 2002

This program sets up a decision tree for the organization of bagel information. The program will use a database file in the local directory called "bagels.db" - If this file does not exist, it will create it so that bagel information can be added.

Files:

bageld.c bageld.h string.c string.h

Compilation:

cmake OR cc -Wall -ansi -pedantic -o bageld *.c -l krb5 -lssl

Usage:

./bageld bagel.db [kerberos_keytab]
Awaiting new connections on port 2002
telnet localhost 2002
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Does it swim? > yes
Does it have feathers? > no
Is it the coolest damn bagel you've ever seen in your life? > yes
Does it stink? > no
I guess you have a Bob bagel.
Is this correct?[yes,no] > no
No? Then what type of bagel is it? > fish stick bagel
What is a good yes/no question about fish stick bagel bagels that would distinguish them from Bob bagels? > Is the bagel flakey and delicious?

I'm sure I'll guess it now.Connection closed by foreign host.

Without a database, the program will first ask you for a bagel type. Then begin filling the database with Caleb bagels, Monkey bagels, and Toast bagels.

All answers are of "yes", "no", [Bagel Name], or a question about a bagel.

bageld's People

Contributors

jkew avatar

Stargazers

Caleb Clarke 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.