freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Freetype] freetype in OpenGL


From: Peter Montgomery
Subject: Re: [Freetype] freetype in OpenGL
Date: Mon, 13 Aug 2001 14:37:10 -0700

Bertrand ,

    I am a C programmer who has had to use C++ libraries from time to
time.  I just changed my main file name from "filename.c" to
"filename.cpp" (I use VC++, hence the .cpp instead of .cc).  Pretty much
all of your standard C code will compile in C++ mode.  I used some
samples to write some C interfaces to the objects I had to use and
everything worked out.  I think that if I had to do it over again and
had a little more time, I would get a C++ book and try accessing the
objects directly.  I do a lot of programming in Delphi and routinely
call object methods and properties within a procedural programming
styles framework.  It may not be the best form, but it works just fine.

    Thanks,
    PeterM

> On Monday, August 13, 2001, at 08:16  PM, Bertrand Petit wrote:
>
> > This is a problem because C++ is really difficult to use with
> > other languages. Having to use a C++ library impose that the main
> > program is to be written also in C++ and that's a *bad thing* (tm).





reply via email to

[Prev in Thread] Current Thread [Next in Thread]