Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The goal of this project was to create a program that takes in a grocery list and creates a sorted linked list. I'm coming up

image text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedimage text in transcribedThe goal of this project was to create a program that takes in a grocery list and creates a sorted linked list. I'm coming up with these errors and cannot for the life of my figure out what they mean. Many open stack posts say it's a default constructor issue but as you can see, I have both of the default constructors in my classes so I'm quite lost. Thank you

7 I/ main.cpp #include 10 #include 11 #include 12 #include 13 #include "LinkedL1st.hpD" 15 int main(int argc, const char argv[])f 16 LinkedList list; 18 list.add( "Apple", 1.5); list.add ("Broccoli", 2); list.add( "Yogurt", 4); list.add ("Chocolate", 3.8); list.add( "Paper towels", 2.2) list.add ( "Milk", 1.7); list.add ("Ice cream", 4.5) list.add ("Cereal", 4); 20 21 23 24 25 26 27 28 29 30 31 32 std::cout 10 #include 11 #include 12 #include 13 #include "LinkedL1st.hpD" 15 int main(int argc, const char argv[])f 16 LinkedList list; 18 list.add( "Apple", 1.5); list.add ("Broccoli", 2); list.add( "Yogurt", 4); list.add ("Chocolate", 3.8); list.add( "Paper towels", 2.2) list.add ( "Milk", 1.7); list.add ("Ice cream", 4.5) list.add ("Cereal", 4); 20 21 23 24 25 26 27 28 29 30 31 32 std::cout

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions