title: UPDATE: C++ undefined reference
body: <p>When I try to run the following C++ program: <strong>UPDATE</strong> (Updated code since the past link had some errors): <a href="http://pastie.org/private/pdpfpzg5fk7iegnohebtq" rel="nofollow noreferrer">http://pastie.org/private/pdpfpzg5fk7iegnohebtq</a></p>
  
  <p>I get the following:</p>
  
  <p><img src="https://i.stack.imgur.com/bcb5c.png" alt="enter image description here"></p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>The errors that arise now are as follows:</p>
  
  <p><img src="https://i.stack.imgur.com/R70QB.png" alt="enter image description here"></p>
  
  <p>Any ideas on that?</p>
  
  <p>Thanks.</p>