As the title states.. is it possible to pass two variables back from a float function.. one through 'return variable' & the other through reference? If it is i will post the code.. but after hours of debugging & the program is still not recognizing the changed reference parameter (but the 'return variable' returns the correct value) this is the onlY conclusion i feel i can come too.
Appreciate a quick response! - Chris
GPXtC02
0
Light Poster
Recommended Answers
Jump to Post>>is it possible to pass two variables back from a float function.. one through 'return variable' & the other through reference
Absolutely yes. If you can't get it to work right then post the code. Here is a common way to do it.
int foo( int& …
All 4 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
GPXtC02
0
Light Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
GPXtC02
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.