some questions

Steven Suson suson at TuckerEnergy.com
Fri Jun 16 16:38:37 UTC 2000


Greetings David,

    Since C++ is a superset of C, one can always include C code in C++
modules. What I've done where I needed to call C routines from my C++ was
create C++ classes that jacket sets of C routines (attempting to carefully
maintain OOP principles). You will of course need the
extern "C" { }
jacket for the include files with function prototypes in order to
successfully call these functions from C++. If you have any more specific
questions, feel free to ask.

Steven Suson
"Keep the faith."


David Santo Orcero wrote:

>  Hello, all:
>
>  I am an YAWDK -Yet another wannabe on developing for KDE-. I was
> enlighted with Kdevelop one month ago, and I have been studiing
> the use of programming for KDE during last month. Now I am triing
> to port some of programs under Sun's OpenLook -yes, I use that library,
> in 2000-. The main trouble is that I work on C, and hate C++.
>
>  I saw at kde developer home page a link to a wrapper, for developing
> under C. But that links points to a empty dir. Does Anybody know an
> alternative location for the wrappers?
>
>  Other question. How about developing in C under Kdevelop. I have tested
> under C++ and is marvelous, but I find somwwhat complex including C
> code. Has some developer of the list any experience on developing C
> code under KDE to tell me about his experience and to give me any
> trick?
>
>  Yours:
>
> David





More information about the KDevelop mailing list