To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.handyboardOpen lugnet.robotics.handyboard in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / Handy Board / 3671
3670  |  3672
Subject: 
Re: Class functions from C++ to C
Newsgroups: 
lugnet.robotics.handyboard
Date: 
Tue, 21 Apr 1998 06:14:41 GMT
Original-From: 
Thomas Hauri <HAR@TWI.stopspammersCH>
Viewed: 
650 times
  
Hi Kate

you could use some precompiler to convert C++ to C.  I think that the GNU
C++ compilers have such a precompiler. (At least the older ones do.)

Tom

krasing@iastate.edu schrieb:

I'm using A-Life techniques to control a simple robot. The program I'm
using was initially written by my A-Life professor in C++, and as I use
IC, I need to bring it over to C. I'm having difficulties as it calls a
class (bots) from a C++ library file (symbot.h). I need to resolve this
problem, and I'd really appreciate any help -- I have the virtual robot
finished, but a main part of my project was to bring the virtual robot
out into the real world. IC compiles about half of my program -- the
class functions aren't used until the last half of the program. If IC
can't do that, what software/hardware that is easy to get ahold of can?
Thanks for any and all help! :)

-Kate



Message is in Reply To:
  Class functions from C++ to C
 
I'm using A-Life techniques to control a simple robot. The program I'm using was initially written by my A-Life professor in C++, and as I use IC, I need to bring it over to C. I'm having difficulties as it calls a class (bots) from a C++ library (...) (26 years ago, 20-Apr-98, to lugnet.robotics.handyboard)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR