Hi Prasad,
could you add the signature to lib/stdstrct/stdcxxfunc.h, please, and
re-build CINT? Let me know whether that fixes it, and send me the
signature + the platform (OS + compiler + versions for each) that you
are using, so I can add it to th CINT distribution.
Cheers, Axel.
Dr. Prasad, B.V.L.S. wrote:
> hi, hi axel, //[[ even if I try to send to
cint@..., my mails to cint are bouncing. Hence I included your email id too.]].
>
> I am trying to use some of the basic math functions provided in <cmath> or <math.h>
> especially
>
> long lround(double);
>
> I am unable to use this function from with in cint.
> ********************************MY TRIALS ***********************************
> cint> { #include <cmath>}
> cint> { #include <iostream>}
> cint> { cout<<lround(23.4)<<endl;}
> Error: Function lround(23.4) is not defined in current scope FILE:(tmpfile) LINE:1
> (class G__CINT_ENDL)134904536
> !!!Dictionary position rewound... !!!Error recovered!!!
> cint>
> *****************************************************************************
>
> Could you tell me how to enable these functions from within cint?
>
> **********************************Corresponding C++ program***************
> #include <cmath>
> #include <iostream>
> using namespace std;
> int main()
> {
> cout<<lround(0.553)<<endl;
> return 0;
> }
> ****************************************************************************
>
> thanks alot.
> Prasad.
>
>
> ___________________________________________________________
> Want ideas for reducing your carbon footprint? Visit Yahoo! For Good
http://uk.promotions.yahoo.com/forgood/environment.html>