title: The system file cannot be specified
body: <p>I have been trying to output a code for a project, and have tried going through some of the other questions to try resolving the error I am getting which is listed in the title, however I am not getting anywhere with it. Please be as specific as possible, I'm a novice with coding and only know some C++</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;ctime&gt;
  using namespace std;
  int main()
  {
      //Initialize Variables for initial Lattice
      int Size = 0;
      float Density = 0.0;
  
  
      //Input Desired Lattice Size
      std::cout &lt;&lt; "How large do you want the square lattice to be? "; cin &lt;&lt; Size;
  
      //Input Desired Density
      std::cout &lt;&lt; "What density would you like to test for Percolation? "; cin &lt;&lt; Density;
  
      //Construct Matrix
      float Lattice[Size][Size];
      for (int i = 0; i &lt; Size; ++i)
      {
          for (int j=0; j&lt;Size; ++j)
          {
              Lattice[i][j] = float((int rand() % Size) / (Size));
          }
          std::cout &lt;&lt; endl;
      }
      std::cout &lt;&lt; Lattice[Size][Size];
      system("pause");
      return 0;
  
  }
  </code></pre>