ya, there may be more than one solution.
but this one is not working why?
Code:
class test
{
       static int func();
};

int test::func()
{
       return  printf("hello world\n");
}

int main()
{

}

Last edited by shabbir; 4Dec2007 at 09:46.. Reason: Code block