Search:

Type: Posts; User: RommelTJ

Search: Search took 0.00 seconds.

  1. Thanks for your help zalezog, but... But...

    Thanks for your help zalezog, but...



    But memblocks[0] = count = MAXMEMORY - 1 = 10,000 - 1 = 9,999, which is not INFINITY (Infinity has an extra digit).


    I don't understand what you mean...
  2. Because I am trying to find the smallest element...

    Because I am trying to find the smallest element in the array. Is there a better way of doing that?
  3. Bug in Best-Fit Memory Allocation program (Simulation)

    Hi everybody. I'm trying to simulate memory allocation using a best-fit strategy and I can't get rid of this annoying bug. Can you help me?

    Here is my overall simplified strategy:

    Create an...
  4. Replies
    3
    Views
    1,050

    Checking Sequence in an Array

    I'm trying to simulate simple memory allocation for processes using a First-Fit strategy. I have an array called memoryArray of 0's and 1's, where 0=free memory and 1=used memory. I also have a...
  5. Replies
    5
    Views
    1,475

    @Adak: Thanks. Your example showed me how to get...

    @Adak: Thanks. Your example showed me how to get it working.

    Should I post the working code? It's not very elegant, but I wonder if that would be the polite thing to do.
  6. Replies
    5
    Views
    1,475

    Can you provide me with some sample code or a...

    Can you provide me with some sample code or a link where I can read on how to implement an array of a struct?
  7. Replies
    5
    Views
    1,475

    Help with MultiDimensional Array (I think)

    I am working on a Binary Heap implementation of a Priority Queue. So far, I have the queue working for a single element. Here is some of the code:


    [...headers and constants...]

    struct...
Results 1 to 7 of 7