C ++中BigInt类的良好基础实现 [英] A good and basic implementation of BigInt class in C++

查看:124
本文介绍了C ++中BigInt类的良好基础实现的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找C ++中良好的基础BigInt类,我发现了很多实现,但是大多数时候,它是加密库的复杂实现...

I'm looking for a good and basic BigInt class in C++, I find a lot of implementation but most of the time, it's complex implementation for crypto library...

从根本上讲,我的意思是BigInt可以处理BigInt,long long和带有运算符重载的字符串. 如果我有时间,我会做完自己的,但是我没有时间创建整个BigInt类.

By basic, I mean BigInt can deal with BigInt, long long and strings with operator overloading. If I had time, I had done myself but I do not have time to create an entire BigInt class.

推荐答案

这是一个.我还没有使用过它,但是它看起来并不太复杂,这是我搜索"bigint c ++"时的第一个结果.

Here's one. I haven't used it, but it doesn't look too complex, and it was the first result when I googled "bigint c++".

这篇关于C ++中BigInt类的良好基础实现的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆