B
Bob Keith
Hello,
I am studying some source code, on which I will do some further
development.
I couldn't understand the following code very well.
*****
stateset_result *r=(stateset_result*)p[1]->compute;
*****
I think the author use "cast" here, but I don't understand very well
of the concept of cast, and how to use them.
Could you explain it to me using the above code as an example. Many
thanks.
I am studying some source code, on which I will do some further
development.
I couldn't understand the following code very well.
*****
stateset_result *r=(stateset_result*)p[1]->compute;
*****
I think the author use "cast" here, but I don't understand very well
of the concept of cast, and how to use them.
Could you explain it to me using the above code as an example. Many
thanks.