C1039: Typedef-name or ClassName expected

[ERROR]

Description

In the current context either a typedef name or a class name was expected.

Example
  struct A {

  
    int i;

  
  };

  
  void main() {

  
    A *a;

  
    a=new a; // error

  
  }

  
Tips

Write the ident of a type or class/struct tag.