SpecialKEval is a lightweight 32-bit Texas Hold'em 5- and 7-card hand evaluator written in C++.
From the root directory of the project execute:
./configure && cmake . && make && ctest
This will build the library and run unit tests.
#include <iostream>
#include "SevenEval.h"
int main() {
SevenEval const eval;
// Get the rank of the seven-card spade flush, ace high.
std::cout << eval.GetRank(0, 4, 8, 12, 16, 20, 24) << std::endl;
return 0;
}