Greetings,
I finally got around to trying to learn C++ in the last week. I have a good grasp on some of the fundamentals, but I am having trouble in some code I am writing.
I have a two functions, one that returns an int, and one that takes a const void* as an argument. I need to cast the int from the first function so that I can use it as an argument for the second function.
I have looked around and can't seem to find any information on how to do this. Any help with this is appreciated.
I finally got around to trying to learn C++ in the last week. I have a good grasp on some of the fundamentals, but I am having trouble in some code I am writing.
I have a two functions, one that returns an int, and one that takes a const void* as an argument. I need to cast the int from the first function so that I can use it as an argument for the second function.
I have looked around and can't seem to find any information on how to do this. Any help with this is appreciated.
Comment