Boost logo

Boost :

Subject: Re: [boost] How to generate a Bernuolli number
From: Barco You (barcojie_at_[hidden])
Date: 2009-03-31 20:10:24


Yes, my function just want to return 0 or 1, so I have the return type as
int, is there any problem for that?

On Tue, Mar 31, 2009 at 4:58 PM, Yaser Zhian <yaserzt_at_[hidden]> wrote:

> Barco You wrote:
> > This really works. but If I write this in a function:
> > int genB() {
> > ...
> > }
> >
>
> Is your function really supposed to return an "int"?
>
> -yzt
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>

-- 
-------------------------------
Enjoy life!
Barco You

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk