I am currently trying to use this BitInt library for c++14 to perform larger calculations.
https://faheel.github.io/BigInt/
Every time two BitInts are multiplied an error appears. I reinstalled Visual Studio and the underlying compiler and I am running the latest version.
Error message
The thread 0x2918 has exited with code 0 (0x0).
Exception thrown at 0x00007FFDA337F530 (ucrtbased.dll) in MyProg.exe: 0xC0000005: Access violation reading location 0x00007FF8A3E3A84F.
Here is my code
#include <iostream>
#include "../BigInt/BigInt.hpp"
int main()
{
BigInt big1, big2;
big1 = "2";
big2 = "9876543210123456789098765432101234567890";
std::cout << (big1 * big2).to_string();
// std::cout << big1 * big2 * 123456 << "\n";
return 0;
}
A Screenshot