1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can anybody translate this jargon about C++ and Radient?

Discussion in 'General Programming Chat' started by macaveli92, Jan 22, 2013.

  1. macaveli92

    macaveli92 Jr. VIP Jr. VIP Premium Member

    Joined:
    May 20, 2012
    Messages:
    142
    Likes Received:
    34
    So my friend posts a programming question in relation to his hobby, map making using gtk radient. Well it related to C++ and math... I think. I literally have no idea, but I told him to write out the question so I could ask my secret super best friend club BHW. If you have any insight into the answer, or want to try solve this rubck's cube throw a comment below please!

     
  2. s0ap

    s0ap Executive VIP Jr. VIP Premium Member

    Joined:
    Sep 23, 2008
    Messages:
    230
    Likes Received:
    810
    Occupation:
    :] guess
    Location:
    Congo/DRC
    Without knowing how he "broke" curve.h it is tough to provide an answer. I'm a bit confused if he is more interested in the abstract of Bernstein polynomials, how they are templated (I'm assuming) in the library, how to code them in C++, or how to fix the header file.

    Errors of this nature typically happen because the library functions expect a very specific parameter list/type. Tell him to check his warnings to ensure that an invalid type was not passed by accident; some creative C-style casting might solve his problem.