title: Cant set dynamic array bottom c++
body: <p><strong>I try to make border of 2d array but button not set</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Zk6rD.png" rel="nofollow noreferrer">my Output</a></p>
  
  <pre><code>    backGround='\'';
      screenBorder='#';
      w = 25;
      h = 25;
  </code></pre>
  
  <pre class="lang-cpp prettyprint-override"><code>    void fillScreen(void){
          for(int i=0;i&lt;w;i++){
              for(int a=0;a&lt;h;a++){
                  screenMap[i][a]=backGround;
              }
              screenMap[0][i]=screenBorder;//up
              screenMap[w-1][i]=screenBorder;//down
              screenMap[i][0]=screenBorder;//left
              screenMap[i][h-1]=screenBorder;//right
          }
      }
  </code></pre>
  
  <p>i want to set bottom symbols</p>