c++ pass a function as an argument to another function?

Steve Heitman

New member
soooo, I know that you can define a function outside of main so it will take in that function when called

type name(type arg1, type arg2 .....)
{
function code....
}

but is there a way to do this?

type name(func(a,b,c), type arg2 .... etc)
{
again fucntion
}

???
 
Back
Top