C++ pointers and lists in classes
I would really appreciate it if someone can help me with my homework I already did 80% of it i reached a point where he asked about making lists which i am terribly bad at and i would appreciate it if someone can give me the code for the following questions:( i provided the code so far below) 8) Define a class for a shopping cart with name ShoppingCart. This class shall have following members: âą a private pointer attribute with name articles to the head of a list of articles in the shopping cart of class InCart âą three private real valued attributes with names minFressShipping for which purchase value free shipping is offered, sumNetPrice for the total net price sum of all articles in the shopping cart and sumGrossPrice for the total gross price sum. âą a public standard constructor initialising an empty shopping cart with both sum values 0 EUR and the purchase value for free shipping with1000 EUR âą a public destructor outputting "~ShoppingCart()" and afterwards deleting each article in the shopping cart starting with an output "delete article: " such that no memory leak will exist. https://code.sololearn.com/c3KjLhtmoxE1/?ref=app