Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    dates descending

    Any help would be greatly appreciated. I'm looking for some code that would show the current day and below that would show the other days in descending order. For example since today is Thursday then Thursday would show then below that wed, tues, mon, etc... so if you were to go on tomorrow Friday would be on the top and thurs, wed, tues, mon, etc would show..

  • #2
    Regular Coder cs_student's Avatar
    Join Date
    Oct 2009
    Location
    ~/
    Posts
    195
    Thanks
    2
    Thanked 22 Times in 22 Posts
    What are you having problems with. You could just have a circular linked list which you go to today and iterate the amount of days you want to have below.

    There are many implementations you could use.

    What specific problems are you having?


  •  

    Posting Permissions

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