View previous topic :: View next topic |
Author |
Message |
DriverInside
Joined: 10 Feb 2006 Posts: 6
|
builder c++ compatible ? |
Posted: Thu Mar 23, 2006 9:25 am |
|
|
Hello does anyone has try to receive values thru rs232 with a builder c++ program from a C pic program?
I want to know if data type are compatible( int, float, ...) from pic c compiler to builder 5 .
thank you, and sorry for my english ![Embarassed](images/smiles/icon_redface.gif) |
|
![](templates/subSilver/images/spacer.gif) |
Ttelmah Guest
|
|
Posted: Thu Mar 23, 2006 9:31 am |
|
|
Not tried it, but you will need to use explicit conversions. Int, in the C++, will normally be an int16, and this will need to be the type used in CCS C for comptibility. Floats will probably not be compatible, I'd expect the C++, to use IEEE floats. there has been code posted here in the past, for IEEE to CCS conversion (and vice versa), and a search on IEEE, should find it. If not I can post these routines.
Best Wishes |
|
![](templates/subSilver/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|