Search:

Type: Posts; User: Uni616

Search: Search took 0.00 seconds.

  1. Hmm, I know shmget is returning -1, and that is...

    Hmm, I know shmget is returning -1, and that is what causing the error. I'm not that familiar with linux, and I'm not sure how to use ftok in this case. Commenting out the error checking will make it...
  2. Need help with error " No space left on device : : Illegal seek"

    Hello, I'm trying to compile my professor's code but I get the error
    "No space left on device
    ./posted: : Illegal seek"

    Heres the code (its to multiply matrices using shmget() and fork():

    ...
  3. Need some help with shared memory and fork system call

    Hello, I'm trying to make a program that will multiply 2 matrices using shmget() and fork(). For example, I would need to multiply a 64 x 64 matrix using 4 processes or 16 processes, and the...
  4. Ok, after I read in every line, I print the...

    Ok, after I read in every line, I print the vector I get this:
    *** 6 8
    *** 1 2 10
    *** 1 3 9
    *** 2 3 7
    *** 2 4 2
    *** 3 5 5
    *** 4 5 3
    *** 4 6 8
    *** 5 6 4
  5. Parsing text file works in windows compiler but not linux

    Hey, I have to read numbers from a text file. Heres an example input:

    6 8
    1 2 10
    1 3 9
    2 3 7
    2 4 2
    3 5 5
    4 5 3
    4 6 8
  6. Thread: Min-Heap help

    by Uni616
    Replies
    1
    Views
    4,289

    Min-Heap help

    Hey, I have to code a min-heap, along with other things to help compute minimum spanning tree.

    I coded up the min-heap pretty easily and I have no compile errors, however my delete fix up does...
Results 1 to 6 of 6