Can anyone help me solve this?
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Can anyone help me solve this?

  1. #1
    Join Date
    Nov 2011
    Posts
    2

    Can anyone help me solve this?

    If pointer Front points to the last node in a linked list and Rear points to first node.How to write a code to implement enqueue and dequeue member methods?

  2. #2
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,000

    Re: Can anyone help me solve this?

    Google is your friend (or, well actually, you shouldn't Google it and try to work out the algorithm yourself first, since it's more educatonal, but alas...)!

    First hit for "Queue linked list" is highly informative: http://www.cs.bu.edu/teaching/c/queu...ist/types.html
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center