Search:

Type: Posts; User: Cgmgator

Search: Search took 0.00 seconds.

  1. I just wanna thank you guys, lazer, whiteflags,...

    I just wanna thank you guys, lazer, whiteflags, and Mr. Hunter. I've been working on this program pretty much all day again today. I only have a few bugs left and to clean it up. Can't thank you...
  2. Does this look right? I am so sorry to keep...

    Does this look right? I am so sorry to keep bothering you guys, but I won't be able to sleep until I get this right...




    void sortArray(float nums[], int last)
    {
    int smallest;
    int...
  3. I wonder if maybe my problem is the value that I...

    I wonder if maybe my problem is the value that I passed for the last index in the array. I defined the SIZE = 90. I set a count to stop at 90. Would my value of last be the SIZE - count? Or maybe...
  4. I think when smallest gets to a value of 0, it...

    I think when smallest gets to a value of 0, it stores the 0 in temp, then for some reason the 0 gets passed to the rest of the printed arrays...I added the if..else statement to try to find some way...
  5. You're right, I actually had ...

    [/QUOTE]

    You're right, I actually had




    for (int walk = current + 1; walk <= last; walk++)
  6. Yes...it now prints the array, but it doesn't...

    Yes...it now prints the array, but it doesn't sort from lowest to highest. Ran it with another file with no zero's and it sorted it just fine. I've been at this for hours, lol. I just can't get it...
  7. Having trouble sorting an Array that has a zero in it.

    Hey guys, I was just wondering if someone could take a look at my code real quick. I'm sorting an array, and when it comes to a zero it obviously prints zero's from that point on. I'm using a...
Results 1 to 7 of 7