how to call method?

Discussion in 'C' started by midnight09, Jan 7, 2010.

  1. midnight09

    midnight09 New Member

    Joined:
    Jan 7, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello, guys, I'm new in C, and I have to test one program , but it's in C , its source is
    jgt.akpeters.com/papers/Moller97/tritri.html and I need your help, how can I call int tri_tri_intersect_with_isectline? Thanx a lot.
     
  2. Gene Poole

    Gene Poole New Member

    Joined:
    Nov 10, 2009
    Messages:
    93
    Likes Received:
    5
    Trophy Points:
    0
    What's the problem? Does the source file have a header? Include the header at the top of whatever source file you want to use it in (like the file that has your "int main()" function) and link the .c source file with the rest of your project and just call the function.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice