@aglae_feil
In C++, a default constructor can be declared in a class definition or outside the class definition.
In both cases, the default constructor is declared with the class name followed by parentheses (). If the default constructor implementation is simple, you can define it directly within the class definition. However, if the constructor implementation is more complex, it is usually better to define it outside the class definition for better code organization.
@aglae_feil
It is important to note that if any constructors are defined, the default constructor will not be implicitly generated by the compiler. Therefore, if you want a default constructor, you either need to define one explicitly or not define any constructors, in which case the compiler will provide a default constructor for you.