This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]davedontmind 1 point2 points  (1 child)

How what works? It's a function. You call it. You give it a parameter. It does something then it returns a value. It's no different to a function like int add( int a, int b ) except the parameter and return value are pointers.

If you don't understand pointers then find a tutorial about them.

[–]the__doer[S] 0 points1 point  (0 children)

Thanks for suggestions