C ++で新しいプログラムを作成していますが、現在のエラーが発生します
'int'の前に期待される一次式</p>
この行について
p1::pascals_triangle(int depth);
私のコードは次のとおりです。
これは私のfunctions.cppです
using namespace std;
/**                                                                             
 * Note the namespace qualifier used here - I did not bring 'p1' in             
 * scope, therefore we need the "p1::" to preceed the function definitions.     
 */
void p1::pascals_triangle(int depth) {
  // Implement problem 1 in here.      
これがメインです
    using namespace std;
int main(int argc, char *argv[]) {
  // Need to implement argument processing here                                                                        
  // If you want to set a function pointer, you just take the                                                          
  // address of the function ('&' means 'take address of'):                                                            
  double (*pf)(double k); // declares the function pointer                                                             
  pf = &p1::test_function;//test_function; // sets the value of 'pf' to the address of      the 'p1::test_function' functio\
   n.                                                                                                                     
  p1::pascals_triangle(int depth);