getting the result of an op into a string.
Sam Rawlins
sam.rawlins at gmail.com
Fri Feb 19 15:41:03 CET 2010
> Hello, i've read thru the entire manual and nowhere is there any way to get
> the result into a string so you can manipulate it.
>
> we need something like :
>
> mpz_get_str( string_name , mpz_t OP )
>
>
http://www.gmplib.org/manual-4.3.2/Converting-Integers.html#Converting-Integers
This page contains that very function.
> I'm playing with your 4.3.2 lib? (5.0.1 wouldn't build.)) and i'm writing a
> windows program and i need to put the result into a textbox, I need to
> assign the result of an operation to a string.
>
> gmp_printf(? !"%.60Ff\n" , ?@z? ) isn't gonna work i need the output in a
> edit control in a window.
>
> Thanks if you can help!
>
> albert_redditt at yahoo.com
>
--
Sam Rawlins
More information about the gmp-discuss
mailing list