Search:

Type: Posts; User: fcommisso

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    6,574

    yes very good observations guys...i'll will work...

    yes very good observations guys...i'll will work on a better method.
  2. Replies
    13
    Views
    6,574

    oops...

    oops...
  3. Replies
    13
    Views
    6,574

    I'm thinking my logic is flawed in the actual...

    I'm thinking my logic is flawed in the actual swapping of array elements...anyone?
  4. Replies
    13
    Views
    6,574

    ok, this thread doens't let me show the spaces...

    ok, this thread doens't let me show the spaces how they are displayed in the terminal, but take my word for it that the number 15 in the array is originally to the far right and then after scramble...
  5. Replies
    13
    Views
    6,574

    so this is my newest version of that function....

    so this is my newest version of that function. Now it just swaps one element in the array.
    so if my original array is:
    1 2 3 4
    5 6 7 8
    9 10 11 12
    13 14 ...
  6. Replies
    13
    Views
    6,574

    yes the array i made manually and does have a...

    yes the array i made manually and does have a zero, else it would be pointless. I guarantee they return a valid position where the ever existant zero appears in the array.



    Thanks, I did notice...
  7. Replies
    13
    Views
    6,574

    not quite

    here's a sample code I just whipped out to prove my range is indeed form 0 to 3:




    #include <stdio.h>
    #include <stdlib.h>

    int main()
    {
  8. Replies
    13
    Views
    6,574

    Scramble Elements in Array

    Hi, I am working on a project for my C programming class. We have not covered pointers yet, and this project is primarily focused on Arrays mainly.

    I have coded most of it but I'm stuck at the...
Results 1 to 8 of 8