Output a huge number with 200,000 digits

  c++

I am trying to output a number with 200,000 digits and not sure how I can store it? The task is to compute the 1 millionth fibonnacci number, so it would be a formula outputting 200,000+ digits. In other words, saving the output somehow of the calculation so that I can then output.

size_t longnumber; // number with 200,000 digits
cout << longnumber;

Source: Windows Questions C++

LEAVE A COMMENT