C1044: User defined Constructor is required

[ERROR]

Description

A user-defined constructor should be defined. This error occurs when a constructor should exist, but cannot be generated by the Compiler for the class.

Example
  class A {

  
    const int i; 

  
  };

  

The compiler can not generate a constructor because he does not know the value for i.

Tips

Define a constructor for the class.