[Solved] Which OO Design is better and why? [closed]

In my point of view I think that you can go more further in term of Single Responsibility Principle(RSP). But I’m not really sure if it relevant to make an interface for Editor. class Image{ string path } Image image = new Image(); interface Rotatory { rotate(image); } class RightRotator implements Rotatory{ rotate(image){ /*Your implementation*/ … Read more

[Solved] c++ breaks on class function

EDIT: Wait… I hadn’t realized that this function is a member of the CXFileEntity class. It doesn’t look like it’s a static method, either. So in order to call this function, you already need to have instantiated a CXFileEntity object! Therefore, it’s likely that you absolutely do not want to be either deleting or creating … Read more