|
From: | MoZeS Rotgizer |
Subject: | i have a question about gmp_printf |
Date: | Sun, 22 Jun 2003 02:38:00 +0000 |
hey, i am a c++ programmer. I tried the GMP library and i'm very impresed..
but i tried the:
int
gmp printf (const char *fmt, ...) and the linux compiler gives this error message:1.cpp:11: implicit declaration of function `int gmp_printf(...)'
and i wrote:
mpz_t r, n;
mpz_init (r);
mpz_init_set_ui(r,4);
//gmp_printf ("%Zd\n", "j",r);
gmp_printf ("%Z",r);
just to try the code, not for something serious.
please tell me what the bug is, i'm helpless.
thanks... :)
M.Rotgaizer
[Prev in Thread] | Current Thread | [Next in Thread] |