I have a function like this:

```
void functiont(int a, int b)
{
        if(playingnumber=="T")
        {
            returntransfer=1;
            struct A
            {
                ~A() // Destructor to run after returning variable
                {
                    void cardselecth(int playingcolorh, int playingnumberh);
                }
            }
            return returntransfer;
        }
}

```

Anyway I need to grab that returned variable without calling on int a or int b. So in another function I write

```
newvar=functiont(int a, int b);

```

And it gives a compile error. I don't know how else to do this. I could write functiont(a,b); and I get an error; I write functiont(int,int); and get an error. I've tried writing functiont(); but then it assumes the function's in the same file and I haven't defined it, which it isn't (I'm transferring across files here, so I need to define any parameters so it knows to refer to another file).