码如下面:
#define OTL_BIGINT long long
#define OTL_STR_TO_BIGINT(str,n)
{
n=atoll(str);
}
#define OTL_BIGINT_TO_STR(n,str)
{
sprintf(str,"%lld", n);
}
#include "otlv4.h"// include the OTL 4.0 header file从上面能够看出,OTL并没有实际做什么工作,它仅仅是用宏的方式预留了接口。详细的你自己依据操作系统相应的函数实现。
上面是Linux里面的达到,Windows以下是另一个功能。详细检查它自己。
版权声明:本文博主原创文章,博客,未经同意不得转载。