[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/DoctorLai/cpp-coding-exercise/main/integer-factorization/main.cpp [Back]  [Original]

/**
 * This program implements various algorithms for integer factorization,
 * It takes integer(s) from the command line or a file and outputs their prime
 * factorizations.
 *
 * Usage:
 *   ./integer-factorization [options] [integers...]
 * Options:
 *   -h, --help          Show this help message and exit
 *   -f, --file FILE     Read integers from FILE, one per line
 *   -o, --output FILE    Write output to FILE instead of stdout
 */

#include 
#include 
#include 
#include 
#include 
#include "factorization_algorithms.hpp"

void
print_help()
{
    std::cout 

Web Proxy Viewer  |  New URL  |  Original Page