为什么在尝试编译此rsa库时出现此LNK错误:
http://www.efgh.com/software/rsa.txt

http://www.efgh.com/software/rsa.htm

mpuint.obj : error LNK2019: unresolved external symbol "void __cdecl numeric_overflow(void)" (?numeric_overflow@@YAXXZ) referenced in function "public: void __thiscall mpuint::operator=(class mpuint const &)" (??4mpuint@@QAEXABV0@@Z)

最佳答案

请在MPUINT.CPP中添加新功能:

void numeric_overflow() {
    printf("Numeric overflow!");
}

问候,

ng

10-04 12:27