Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 637 Bytes

README.md

File metadata and controls

21 lines (14 loc) · 637 Bytes

Fibonacci Algorithms

Compare efficiency of several fibonacci generation algorithms, written in C++.

This project was compiled with Visual Studio 2019, and compiled with MSVC. I avoided using Microsoft specific features, so it should compile with g++ as well.

Compiling

Build in Visual Studio, or g++ main.cpp -o main

Running

./main

Testing

Just pass "test" as the first parameter to the binary.

./main test

Plotting

All of the gnuplot scripts are under gnuplot_scripts Simply open or run them with gnuplot. I used the file type .gp Please note, there needs to be data in output/ for the plotting to work.