POV-Ray : Newsgroups : povray.off-topic : Learning C++ : Re: Learning C++ Server Time
6 Sep 2024 21:20:10 EDT (-0400)
  Re: Learning C++  
From: Warp
Date: 13 Dec 2008 11:22:20
Message: <4943e13c@news.povray.org>
Nicolas Alvarez <nic### [at] gmailcom> wrote:
> A good approach (that few people use) is making the library in C++ and
> making a C wrapper :)

  That would be rather difficult because it's not possible to call C++
functions from C. (The C compiler cannot understand C++ name mangling,
and obviously none of the features C++ has that C doesn't.)

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.