Question: Hi, I tried to run the code above (first 3 screenshots) but kept receiving the error message (last screenshot) which says collect2.exe: error: ld returned

Hi, I tried to run the code above (first 3 screenshots) butkept receiving the error message (last screenshot) which says "collect2.exe: error: ldreturned 1 exit status." I've saved all files and included headers, whyam I still getting that error. First screenshot: header file Second screenshot:Hi, I tried to run the code above (first 3 screenshots) but kept receiving the error message (last screenshot) which says "collect2.exe: error: ld returned 1 exit status." I've saved all files and included headers, why am I still getting that error.

First screenshot: header file

Second screenshot: cpp file

Third screenshot: main file

Fourth screenshot: error message

Thanks!

Test: :print() ' collect2.exe: error: 1d returned 1 exit status PS C: \Users \Admin \Desktop \C++ \ test

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!