Search:

Type: Posts; User: Sean Gilbride

Search: Search took 0.00 seconds.

  1. Replies
    9
    Views
    1,922

    no, all i want to do is sort the array, starting...

    no, all i want to do is sort the array, starting from the lowest up
    to the top.

    int array[3][2] = {{3,6},{5,2},{1,4}};

    so i want to finish with the 2d array like the following,

    ...
  2. Replies
    9
    Views
    1,922

    bubble sort for 2d array problems?

    i am using an int array. this is how i am trying to solve the problem, but to no avail.....

    int array[3][2] = {{3,6},{5,2},{1,4}};

    for(i=0;i<3;i++)

    for(i=0;i<3;i++)
    for(j=0;j<2;j++)
    {...
  3. Replies
    9
    Views
    1,922

    granted.....but any pointers for me on the 2d...

    granted.....but any pointers for me on the 2d array side of things.
  4. Replies
    3
    Views
    1,252

    sorry about the horrible code, just beginnig. my...

    sorry about the horrible code, just beginnig.
    my function readin is called twice. this function reads in vales into
    two separate arrays. function compute is meant to add these arrays together and...
  5. Replies
    3
    Views
    1,252

    Pointers and Arrays

    hi there,
    small problem with the following code. i can not add two separate arrays. can you help.
    my compilier says ---- invalid operands to binary + ----


    *(*(c + i) +j) = *(*(a + i) +j) +...
  6. Replies
    4
    Views
    1,190

    thanks

    thanks for your help.
    however i want the the function to read in the array.....
    then i want to pass back the 2d array to main for printing.
    your program did not run for me, dont know...
  7. Replies
    4
    Views
    1,190

    Functions

    hi there,
    i am trying to use a function to read in a 2d array & then
    pass back the contents to the main and print them off.
    can anyone help me with this. this is what i have so far.....
    any help...
  8. Replies
    3
    Views
    1,599

    file input/output

    trying to write a file with two user prompts i.e.
    int code & string title

    form this i wish to be able to read back the same information from the file. i can write the file however i cannot read...
Results 1 to 8 of 8