Logo 
Search:

C Programming Forum

Ask Question   UnAnswered
Home » Forum » C Programming       RSS Feeds

circular priority queue using arrays

  Asked By: Deepika    Date: Aug 31    Category: C Programming    Views: 685
  

i want to write a program that takes command line arguments. it should read a input file for eg:
5
enq 5 3
enq 6 4
deq
enq 4 5
enq 7 2
deq
print

where first line is always size,enq N P means insert N with priority P,deq means delete N with highest priority and print means display queue.
the program should store output in a file output.txt
please help

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on circular priority queue using arrays Or get search suggestion and latest updates.




Tagged: