MSDN > Home page del forum > Phoenix > How to get the line No. of the function name by Phoenix?
Formula una domandaFormula una domanda
 

Discussione generaleHow to get the line No. of the function name by Phoenix?

  • domenica 14 giugno 2009 10.19nkparrot Medaglie utenteMedaglie utenteMedaglie utenteMedaglie utenteMedaglie utente
     

    I want to get the line No. of the function name using Phoenix, for example, I want to the the line No. of sample_1,

    1  int
    2  sample_1
    3  (int a)
    4  {
    5   int i;
    6   for(i=0;i<100;i++)
    7   {
    8    if( i == a )
    9   {
    10    a = a*i;
    11  }
    12  }
    13    return i;
    14  }

    Yes, I can get the "{"'s line number, but currently I do not how to get the function name's line No.
    Thanks