title: Getting this error in C++, "no match for 'operator>>' in 'std:cin.std
body: <pre><code>#include &lt;iostream&gt;
  
  int main()
  {
      using std::cout;
      using std::endl;
      using std::cin;
      short width;
      short legnth;
      short height;
      short volume;
      volume = (legnth * width * height);
  
      cout &lt;&lt; "This program will determine the volume of a cube" &lt;&lt; endl;
      cout &lt;&lt; "Enter the legnth of the cube: ";
      cin &gt;&gt; legnth &gt;&gt; endl;
      cout &lt;&lt; "Enter the width of the cube: ";
      cin &gt;&gt; width &gt;&gt; endl;
      cout &lt;&lt; "Enter the height of the cube: ";
      cout &lt;&lt; "Your volume is: " &lt;&lt; volume;
      cout &lt;&lt; "Press any key to exit :)";
      cin.get();
  
      return 0;
  </code></pre>
  
  <p>I am new to C++ and in my basic computer programming class we had to make something that can calculate volume, can someone please help me in fixing this error?</p>
  
  <p>}</p>