CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

builder c++ compatible ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
DriverInside



Joined: 10 Feb 2006
Posts: 6

View user's profile Send private message Send e-mail

builder c++ compatible ?
PostPosted: Thu Mar 23, 2006 9:25 am     Reply with quote

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
Ttelmah
Guest







PostPosted: Thu Mar 23, 2006 9:31 am     Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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