Hello. I´m trying to make a new object into my main():
Where "objectName" is a class into my Header file.Code:objectName name = new objectName();
But I´m reciving the error:
Any idea what I have missed? I´m not very familiar with pointers.error C2440: 'initializing' : cannot convert from 'objectName *' to 'objectName'
No constructor could take the source type, or constructor overload resolution was ambiguous