When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
12 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.
@umbral sedge
Your message appears to contain screenshots but no code. Please send code and error messages in text instead of screenshots if applicable!
What is method?
Show its implementation.
I don't care, show the function.
Your function returns a dangling pointer.
So thats why the value is chaning?
Missing return statements in your (other) functions. You should be getting compiler warnings if you were to build with -Wall as a minimum.
There's no why, your code is invalid.
@umbral sedge
Please don't delete forum posts. They can be helpful to refer to later and other members can learn from them. In the future you can use !solved to close a post and mark a post as solved.