Question: Im trying to figue out an error I'm getting while trying to complete my homework. I am getting code C2572. Hoe can I rectify this

Im trying to figue out an error I'm getting while trying to complete my homework. I am getting code C2572. Hoe can I rectify this code?Im trying to figue out an error I'm getting while trying to

Week 3 overloading Wings - Wings Wings(string flavor, short numberC #include "Wings,h" 3 4 5 EWings::wings(string flavor"unknown", short numberOfPieces) //constructors setFlavor (flavor); setNumberOfPieces (number0fPieces); 10 EWings::-Wings() 12 13 14 /o objects 100 % Error List 2 ErrorsA Warnings 0 MessagesBuild Only Entire Solution Search Error L Code Description File Project Week 3 overloading Wings Week 3 overloading Wings Sup C2572 Wings:Wings': redefinition of default argument: parameter 1 wings.cpp C2572 Wings:Wings': redefinition of default argument: parameter 2 wings.cpp

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!