Answered step by step
Verified Expert Solution
Question
1 Approved Answer
done in c++ im looking to fix the error on 190. The error says NodeUser *SortedUserType::currentPos no suitbale conversion function from User to User* exists
done in c++
im looking to fix the error on 190.
The error says "NodeUser *SortedUserType::currentPos no suitbale conversion function from "User" to "User*" exists"
What do i need to do to fix this?
185 186 187 188 189 190 191 192 193 User* SortedUserType::GetNextUser() { User user; if (currentPos == NULL) currentPos = listData; user = currentPos->userInfo; currentPos = currentPos->next; return user
Step 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