FIFO program

Discussion in 'Programmer's Corner' started by lenn24, Jan 23, 2009.

  1. lenn24

    Thread Starter New Member

    Jan 23, 2009
    6
    0
    pls help me creating a program in Turbo C of a FIRST IN FIRST OUT..
    we need to input number of jobs,,page frame,,and the jobs(in characters)..
    for example
    Enter number of jobs:5
    Enter page frame:3
    Enter jobs: a
    b
    c
    a
    e

    Output:
    a
    ab
    abc
    abc
    bce

    pls help me...thanks
     
  2. mik3

    Senior Member

    Feb 4, 2008
    4,846
    63
  3. hgmjr

    Moderator

    Jan 28, 2005
    9,030
    214
    I found this document in which a fifo code example is presented.

    hgmjr
     
Loading...