Programming problem
-
- Member++
- Posts: 28
- Joined: Fri Oct 13, 2017 4:11 am
Programming problem
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!
-
- XCore Addict
- Posts: 169
- Joined: Fri Oct 23, 2015 10:23 am
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!
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!
-
- Member++
- Posts: 28
- Joined: Fri Oct 13, 2017 4:11 am
Ok,thank you very much.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!