mirror of
https://github.com/Relintai/programming_tutorials.git
synced 2025-05-13 23:02:12 +02:00
23 lines
382 B
C++
23 lines
382 B
C++
#ifndef PrimeFactorization_H
|
|
#define PrimeFactorization_H
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
class PrimeFactorization
|
|
{
|
|
public:
|
|
virtual void launch(uint64_t p_num);
|
|
void check();
|
|
void print();
|
|
|
|
PrimeFactorization();
|
|
virtual ~PrimeFactorization();
|
|
|
|
bool is_prime;
|
|
uint64_t num;
|
|
bool finished;
|
|
};
|
|
|
|
#endif // PrimeFactorization_H
|