Thread: 2 dimensional array bubble sort

  1. #1
    Registered User
    Join Date
    Nov 2010
    Posts
    25

    2 dimensional array bubble sort

    I need help to make a program that generates random numbers and sorts them using bubble sort

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Oh my, don't we all....

    The gang here is pretty picky about writing code for you but for the most part you will get help fixing code you've written yourself....

    Do some googling, make your best effort and if you get stuck, post your code and we'll see what we can do....

  3. #3
    Registered User
    Join Date
    Nov 2010
    Posts
    25
    Delete
    Last edited by dsured; 01-22-2011 at 07:59 PM. Reason: wasnt my own code so I cant take credit, will post own code soon

  4. #4
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    If it doesn't compile, then there are error messages....

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by dsured View Post
    I found this code and it doesn't compile. I think it has something to do with the initializearray function. Any ideas?
    You FOUND it? As in you didn't even try to write it yourself?

    Well, my best suggestion is that you ask whoever wrote it...

  6. #6
    -bleh-
    Join Date
    Aug 2010
    Location
    somewhere in this universe
    Posts
    463
    of course that code wouldn't compile. one of the function defs is missing.
    "All that we see or seem
    Is but a dream within a dream." - Poe

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 08-16-2010, 10:00 AM
  2. bubble sort array in acending and descending order
    By kelvin2355 in forum C++ Programming
    Replies: 2
    Last Post: 07-30-2010, 12:23 PM
  3. Replies: 2
    Last Post: 07-11-2008, 07:39 AM
  4. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  5. Quick question about SIGSEGV
    By Cikotic in forum C Programming
    Replies: 30
    Last Post: 07-01-2004, 07:48 PM

Tags for this Thread