Page 1 of 1

Programming problem

Posted: Wed Jan 03, 2018 1:23 pm
by mark-jack
xmos development environment is not defined class? Or development environment is not a keyword class in this category?If not, anything similar to the class can be used instead of a class?Thank you very much!

Re: Programming problem

Posted: Thu Jan 04, 2018 10:24 am
by robertxmos
Hi mark-jack

You can use C, C++ or XC (C & C++ don't have native hardware features).

The XC language is more like C than C++.
You have struct and union.
You don't have function pointers.
BUT you do have 'interface'....
These are a bit like base classes viz pure virtual functions.
HOWEVER the intent is to create flexible server-client connections between processes!

Re: Programming problem

Posted: Thu Jan 04, 2018 12:26 pm
by mark-jack
robertxmos wrote:Hi mark-jack

You can use C, C++ or XC (C & C++ don't have native hardware features).

The XC language is more like C than C++.
You have struct and union.
You don't have function pointers.
BUT you do have 'interface'....
These are a bit like base classes viz pure virtual functions.
HOWEVER the intent is to create flexible server-client connections between processes!
Ok,thank you very much.