title: Xcode 'Undefined symbols for architecture x86_64:' error?
body: <pre><code>Error: " Undefined symbols for architecture x86_64:
        "f(int, int, int const (*) [8], int const (*) [8], int*, int*)", referenced from:
        _main in main.o "
        ld: symbol(s) not found for architecture x86_64
        clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>I tried running the exact same code on Visual Studio 2010, and it worked! Any idea why it doesn't work here? My Mac is 64bit. Thanks!</p>
  
  <p>Here's the code on the files that's giving the error:</p>
  
  <pre><code>#include &lt;iostream&gt;
    using namespace std;
    int p,q;
  
    int f( int,  int,const int [][8],const int [][8], int [],int []);
  </code></pre>