POV-Ray : Newsgroups : povray.off-topic : Learning C++ : Re: Learning C++ Server Time
6 Sep 2024 21:21:46 EDT (-0400)
  Re: Learning C++  
From: Nicolas Alvarez
Date: 13 Dec 2008 10:55:40
Message: <4943dafc@news.povray.org>
Warp wrote:
> Darren New <dne### [at] sanrrcom> wrote:
>> Or do people just
>> interface to C libraries for that sort of thing?
> 
>   I think most libraries out there are written in C rather than C++.
> I suppose the ideology is something like "if I write it in C, it will
> be still usable in C++, but I will get a much larger group of users
> this way".
> 
>   Sometimes someone will then write a C++ wrapper to make it easier to
> use the library. The quality of such C++ wrappers vary wildly. (In my
> little experience the average tends to be on the worse side,
> unfortunately.)

A good approach (that few people use) is making the library in C++ and
making a C wrapper :)


Post a reply to this message

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