title: Run-Time Check Failure #3 - The variable 'result' is being used without being initialized
body: <p>Having issues with my code... the program compiles, but then it gives the following statement "Run-Time Check Failure #3 - The variable 'result' is being used without being initialized."  It then ends the program at that point.  Everything I have after trying to run the function is ignored.  What should I do?</p>
  
  <pre><code>double result;
      for (int i=0; i&lt;nRows; i++)
      {
          absum.push_back(vector&lt;double&gt;());
          for (int j=0; j&lt;nColumns; j++)
          {
              double temp;
              temp = matrixa[i][j]+matrixb[i][j];
              absum[i].push_back(temp);
  
              cout &lt;&lt; temp &lt;&lt; '\t';
          }
          cout &lt;&lt; endl;
      }
  return result;
  </code></pre>