print fibo big numbers in c++ or c language

后端 未结 6 1281
夕颜
夕颜 2021-01-16 23:39

I write this code for show fibonacci series using recursion.But It not show correctly for n>43 (ex: for n=100 show:-980107325).

#include
#inc         


        
6条回答
  •  天命终不由人
    2021-01-17 00:14

    Well, you could want to try implementing BigInt in C++ or C.

    Useful Material:

    • How to implement big int in C++

提交回复
热议问题