Hi,
im running into a problem, writing my arduino project
I've simplified the classes below, but when i want to compile the code i get the error "exit status 1
'Class2' does not name a type; did you mean 'Class1'?" at: "Class2 c2;"
Does anyone know how to fix this or workaround my issue?
Thanks in advance, Tello.
class Class1 {
public :
Class2 c2;
};
class Class2 {
public :
Class1 c1;
};