Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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) 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++ \ testStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started