On 9/25/07, RAVI <[EMAIL PROTECTED]> wrote:

> What if I am going to #define main function like this:
>
>  #define main(...)  main(int argc,char *argv[])
>                                      {
>                                    my_function();
>                                   user_main(argc,argv);
>                                      }
>                                   user_main(int argc,char *argv)
>
>
>
>  Any drawbacks with this sort of solution?

Yes, using #define like this is, IMHO, sloppy hackwork and will be
difficult to debug. What is the issue you are trying to resolve?

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to