Git Product home page Git Product logo

asd_task_4's Introduction

Task_4

Introduction to Double Circular Linked List
Create a music player application to implement the double circular linked list data structure

##library integration

  1. on Code::Blocks, go into menu project->Build Option
  2. go to Linker Settings tab
  3. click Add to add new lib function
  4. type winmm
  5. click OK

##list.h modify the elemenList and List structure to implement Double Circular linked list

##list.cpp modify each function to fit the data structure

  • createList
  • alokasi
  • insertFirst, insertLast, insertAfter
  • deleteFirst, deleteLast, deleteAfter to implement Double Circular Linked List mechanism

##player.cpp create function according to the header defined in player.h

  • function to play the previous song on the list
    void playPrev(address &P);
  • function to shuffle the song list
    void shuffleList(List &);
  • function to sort the song list by some condition
    void sortList(List &, int condition); // example: if condition = 1, then sort by ID
    // if condition = 2, then sort by name
  • function to play the song list from the first song and repeat the list n times
    void playRepeat(List &, int n);

##main.cpp modify the main prorgam, add these menus into the main program

  • menu to search song by name and play it
    ( you can create a new function to search or modify the findElm function )
  • menu play the previous song on the list
  • menu play again this song (the last played song)
  • menu shuffle the song list
  • menu sort the song list
  • menu play repeat all songs

asd_task_4's People

Contributors

faishalrachman avatar adf-telkomuniv avatar undeed avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.