質問

First I included gmp.h, and when I compiled, it said that it didn't find the functions ( float function, mpf_t ). Then I found a page where it said that you should include gmpxx.h for C++ projects, but when compiling it just says that the compiler can't find gmpxx. Wouldn't that be installed with GMP?

役に立ちましたか?

解決

Build GMP with --enable-cxx and it should work.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top