I ran into problem when i just cant think out that what im showing in example.
Example:
Code:
typedef struct
{
function test();
function test(int i);
}Function_struct

function main()
{
//all initialization
//now adding function to pointer
function_struct.test = some_function;
//so how i can get it to recognize both argument types?
//Like button click function can work with and without arguments
}



Possible i need to use other aproach, but its just example.

I really hope any can give good working one.


Arrovs once will publish game