title: I receive this error "error: expected ';' at end of declaration" when trying to compile in VSC. How can I fix this issue?
body: <p>I recently updated my c++ extension and VSC and I'm in a college class for C++ programming. My teacher instantiates a class in main like this</p>
  <p><code>Course c1{};</code></p>
  <p>and when I follow his lead and go to compile I receive an error <code>error: expected ';' at end of declaration</code>. If I remove the curly braces and rerun its just fine. However, I'd like to know if there is a way to make it so I can follow my teachers example.</p>
  <pre><code>#include &lt;iostream&gt;
  #include &lt;iomanip&gt;
  
  using namespace std;
  
  class Course {
      public:
          string name;
  };
  
  void setName(Course &amp;c, string n) {
      c.name = n;
  }
  
  void output(Course &amp;c) {
      cout &lt;&lt; c.name &lt;&lt; endl;
  }
  
  int main() {
      Course c1{}; // Here is where I attempt to create a class along with the curly braces.
      cout &lt;&lt; &amp;c1 &lt;&lt; endl;
  
      setName(c1, &quot;ET580&quot;);
      output(c1);
  
      Course c2;
      cout &lt;&lt; &amp;c2 &lt;&lt; endl;
      setName(c2, &quot;ET574&quot;);
      output(c2);
  
      cout &lt;&lt; endl;
      return 0;
  }
  </code></pre>