Perhaps i have a problem with my brain, but i would like to know if the a default constructor must do sthing. I explain what i mean.
In my application, i have created a class where of course there is a constructor, mine is a default constructor. I don't need to create an object which will be initialize to something, i just want to have some methods which do calculations..., so in my code .cpp, i put nothing between curly brace for the definition of the constructor. Is it good or not?
thanks in advance
jayjay
In my application, i have created a class where of course there is a constructor, mine is a default constructor. I don't need to create an object which will be initialize to something, i just want to have some methods which do calculations..., so in my code .cpp, i put nothing between curly brace for the definition of the constructor. Is it good or not?
thanks in advance
jayjay