title: Error Code 0x80070002 when debugging C++ in VS19
body: <p>I'm very very new to coding C++
  I'm learning OOP in C++ and I was trying to write a program on my own</p>
  
  <pre><code>    class Account
      {
      private:
          string name;
          double balance;
      public:
          Account();
          Account(string name_val);
          Account(double bal_val);
          Account(string name_val, double bal_val);
      };
  </code></pre>
  
  <p>That's the class</p>
  
  <pre><code>Account::Account(): name { "None" }, balance{ 0.0 }{}
  Account::Account(string name_val) : name{ name_val }, balance{ 0.0 }{}
  Account::Account(double bal_val) : name{ "None" }, balance{ 0.0 }{}
  Account::Account(string name_val, double bal_val) : name{ name_val }, balance{ bal_val }{}
  </code></pre>
  
  <p>These are the declarations that I did</p>
  
  <pre><code>Account empty;
      Account frank{ "Frank" };
      Account rich_boi{ 1000000.0 };
      Account sad_boi{ "Sad boi", -10.0  };
  </code></pre>
  
  <p>These are the objects I made in main</p>
  
  <p>Edit: I also did one program(which I got from a udemy course) before this which worked perfectly
  This was the class</p>
  
  <pre><code>class Player
  {
  private:
      string name;
      int health;
      int xp;
  public:
      //Overloaded Constructors
      Player();
      Player(string name_val);
      Player(string name_val, int health_val, int xp_val);
  };
  </code></pre>
  
  <p>These were the constructors</p>
  
  <pre><code>Player::Player() : name{ "None" }, health{ 0 }, xp{ 0 }{}
  
  Player::Player(string name_val) : name{ name_val }, health{ 0 }, xp{ 0 }{}
  
  Player::Player(string name_val, int health_val, int xp_val) : name{ name_val }, health{ health_val }, xp{ xp_val }{}
  </code></pre>
  
  <p>And these were the objects in main</p>
  
  <pre><code>    Player empty;
      Player frank{ "Frank" };
      Player villain{ "Villain" , 100 , 55 };
  </code></pre>