function problem

This is a discussion on function problem within the C Programming forums, part of the General Programming Boards category; on these lines void exch(int a[], int nb); void ins_sort(int nb, int ar[]); void shell_sort(int nb, int ar[]); void bubbles(int ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    22

    function problem

    on these lines
    void exch(int a[], int nb);
    void ins_sort(int nb, int ar[]);
    void shell_sort(int nb, int ar[]);
    void bubbles(int a[], int nb);
    void key_wait(void);
    void swap (int *a, int * b);
    void quicks (int low, int high, int array[]);

    i get not in formal parameter list

    can anyone help me fix these errors!!!!

  2. #2
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    if you are prototyping and defining them, this is correct, however if you are calling them, you get errors because you do not need to retype them...
    hasafraggin shizigishin oppashigger...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 10-29-2008, 06:33 AM
  2. wxWidgets link problem
    By cboard_member in forum C++ Programming
    Replies: 2
    Last Post: 02-11-2006, 01:36 PM
  3. Problem with Visual C++ Object-Oriented Programming Book.
    By GameGenie in forum C++ Programming
    Replies: 9
    Last Post: 08-29-2005, 11:21 PM
  4. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  5. Problem with function pointers
    By vNvNation in forum C++ Programming
    Replies: 4
    Last Post: 06-13-2004, 06:49 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21