Giter Site home page Giter Site logo

shenghaowang / healthy-menu-recommender Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.89 MB

A simple menu recommender system aiming to recommend combination of dishes based on users' daily need of nutrition.

C++ 82.46% C 17.54%
console-app cpp easyx graphics-library

healthy-menu-recommender's Introduction

HEALTHY MENU RECOMMENDER EASYX

The simple menu recommender system aims to recommend combination of dishes based on users' daily need of nutrition.

The main interface looks as follows. Main user interface

User can add new dish to the system after entering the dish information. Add new dish

A combination of 3 dishes will be recommended after user specifies his or her daily nutrition requirement. Enter nutrition Recommend dishes

Install EasyX on Windows + CodeBlocks

  1. Download and configure EasyX for CodeBlocks
  2. Configure MySQL for CodeBlocks. The correct configuration of linker settings and search directories within CodeBlocks should look as follows. Linker Settings Search Directories
  3. Be sure to Save everything in CodeBlocks to ensure all the configurations remain saved.

(Not recommended) Install <graphics.h> on Linux

Installation procedures

Reference

$ sudo apt-get install libsdl-image1.2 libsdl-image1.2-dev guile-2.2 guile-2.2-dev 
$ wget http://download.savannah.gnu.org/releases/libgraph/libgraph-1.0.2.tar.gz
$ tar -xzvf libgraph-1.0.2.tar.gz
$ cd libgraph-1.0.2
$ CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I guile-2.2) -fcommon" \
CFLAGS="$CFLAGS $(pkg-config --cflags-only-other guile-2.2) -fcommon" \
LDFLAGS="$LDFLAGS $(pkg-config --libs guile-2.2)" \
./configure
$ make && sudo make install
$ sudo cp /usr/local/lib/libgraph.* /usr/lib

Test of the setup

$ g++ -o filename filename.cpp -lgraph
$ ./filename

(Not recommended) Install EasyX on Linux

GUN/Linux 下使用 EasyX

Enable database development (MySQL)

$ sudo apt-get install libmysqlclient-dev

healthy-menu-recommender's People

Contributors

shenghaowang 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.