calling a function from static function
Posted
by iSight
on Stack Overflow
See other posts from Stack Overflow
or by iSight
Published on 2010-05-10T09:56:32Z
Indexed on
2010/05/10
10:04 UTC
Read the original article
Hit count: 244
c++
Hi,
how can i call a function which computes with input parameters from an another static function.
say,
class X
{
static void xyz();
static int pqr(int, int);
};
static X::void xyz()
{
...pqr(10,20);
}
int X::pqr(int t1, int t2)
{
return t1*t2;
}
© Stack Overflow or respective owner