I am making a program and I am getting this error:
C:\trigger state.cpp(182) : error C2512: 'Sensor' : no appropriate default constructor available
What are the most common causes for this?
I am making a program and I am getting this error:
C:\trigger state.cpp(182) : error C2512: 'Sensor' : no appropriate default constructor available
What are the most common causes for this?
Not having a no argument constructor when one trying to be called?
Stuff like this..
Will try to call the default constructor.Code:something instanceOfSomething;
Post the code around the error and I can probably figure it out.
I am no longer getting an error