1. Engineering
  2. Computer Science
  3. c any help would be appreciated everything i do doesnt...

Question: c any help would be appreciated everything i do doesnt...

Question details

C++, any help would be appreciated. Everything I do doesn't want to work. Thanks

Create a linked list program with a .h and a .cpp file. A menu is needed like below and the print list should just print the list. Print order summary, an example is bellow butt a cookie and amount would be great. And Exit is to well exit.

1. Print Ordering Summary

2. Print List

3. Exit

This is what will be in the text file for example and there will be more than that.

Allia Ramez

3

1 Thin Mint

2 Carmel Delite

Samuel Hardash

5

2 Shortbread

1 Lemonade

2 Carmel Delite

Code to help:

struct CookieNode
{
     char cookie_name[COOKIE_NAME_SIZE];

     int num_boxes;

     char customer_name[CUSTOMER_NAME_SIZE];

     CookieNode * next;

};

Order summary example

Cookie Names

Number of Boxes

Carmel Delight

4

Lemonade

1

Shortbread

2

Thin mint

1

Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution