Re: [ns] Bind a float

2013-02-04 Thread Saravanan Kandasamy

Dear Rafeal,

I am not sure where you like to do this binding. When you declare your
variable "number_" in file.h ensure you choose a data structure that
accepts a float, e.g

double number_;

rgds
Saravanan K

On Mon, Jan 28, 2013 at 7:07 PM, Rafael P B Mota
 wrote:
>
> How can I bind a float member ?
> For example, when I bind an integer (bind("value_",&value_) it works.
> When I bind a float (bind("number_",&number_) I receive errors.
>
> What can I do to solve this problem ?
> Thanks,
>
> --
> 
> Rafael Perazzo B Mota
> rafaelpera...@gmail.com
> Web-page: https://sites.google.com/site/rafaelperazzo/
> Doutorando em Ciência da Computação
> Universidade de São Paulo (USP)
> Campus da Capital
> Instituto de Matemática e estatística (IME)
> --
>



[ns] Bind a float

2013-01-28 Thread Rafael P B Mota

How can I bind a float member ?
For example, when I bind an integer (bind("value_",&value_) it works.
When I bind a float (bind("number_",&number_) I receive errors.

What can I do to solve this problem ?
Thanks,

--

Rafael Perazzo B Mota
rafaelpera...@gmail.com
Web-page: https://sites.google.com/site/rafaelperazzo/
Doutorando em Ciência da Computação
Universidade de São Paulo (USP)
Campus da Capital
Instituto de Matemática e estatística (IME)
--