H****r 发帖数: 2801 | 1 The problem:
Create a solution that can manage a variable number of FIFO byte queues,
each with a variable length that is located in a small, fixed amount of
memory.
You cannot use dynamic memory allocation (new, malloc). All memory
allocation must be static. The maximum size allowed for storage of the
queued data is MAX_DATA_SIZE. You may statically allocate as much additional
memory as you choose, but remember that efficiency is important.
On average, while the system is running, there will be |
|