title: expected a ';' - I've copied this code from a learning resource and it doesn't work
body: <p>I'm having trouble with the syntax of my prototyping and implementation of function. The first bracket <code>{</code> right below my function's implementation keeps throwing an error saying:</p>
  
  <blockquote>
    <p>expected a ';'</p>
  </blockquote>
  
  <p>I am literally copying and pasting this code from this learning <a href="http://www.cplusplus.com/articles/yAqpX9L8/" rel="nofollow noreferrer">resource here</a> because I assumed they would have no errors.  Is this something super simple that I am missing?  I have tried rebuilding, taking a break and coming back, starting a brand new project and copying/pasting it again from the web page. Adding a semicolon just breaks the function in other ways as expected.  I'm using VS 2015.</p>
  
  <pre><code>int main() {
  
      double someFunction(double, int);
  
      double someFunction(double x, int y)
      {  
          return x * y;
      }
      return 0;
  }
  </code></pre>