Thread: My C++ test is COMING!!...

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    >>You mean like this?

    Yes.

    Now change this:

    bubbleSort(int numbers[], int array_size); //this is a function declaration

    to this:

    bubbleSort(numbers[], array_size); //this is a function call

    and once you've sorted them display the sorted results as you indicated you would with this statement.

    cout << "Your sorted grades are: ";

    Lastly, download one of the free compilers/IDE, like Dev-C++, so you can do homework at home. It is almost impossible to do/learn a computer language without having a compiler in your immediate possession.
    Last edited by elad; 11-27-2006 at 11:14 AM.
    You're only born perfect.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Integer Emulation
    By Elysia in forum C++ Programming
    Replies: 31
    Last Post: 03-18-2008, 01:03 PM
  2. undefined reference
    By 3saul in forum Linux Programming
    Replies: 12
    Last Post: 08-23-2006, 05:28 PM
  3. C++ Operator Overloading help
    By Bartosz in forum C++ Programming
    Replies: 2
    Last Post: 08-17-2005, 12:55 PM
  4. MSVC Template Constructor/Assignment Errors
    By LuckY in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:57 PM
  5. Why is my program freezing?
    By ShadowMetis in forum Windows Programming
    Replies: 8
    Last Post: 08-20-2004, 03:20 PM