Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   anybody understand that? (http://www.go4expert.com/forums/anybody-understand-that-t10056/)

manhatten 16Apr2008 02:26

anybody understand that?
 
Code:

{
        N=-1;
        t=getchar();
        while(t!=EOF)
{
        v=getchar();
        if((t==' ' && v==' ') || (t==' ' && v=='#'))
        ;
        if(t=='#' && (v>='1' && v<='10'))
        N += 1;
        if((t>='1' && t<='10') && v==' ')
        N += 1;
        if(t==' ' && (v>='A' && v<='Z'))
        bok[N][27][v-'A'] +=1;
        if((t>='A' && t<='Z') && (v>='A' && v<='Z'))
        bok[N][t-'A'][v-'A'] +=1;
        if((t>='A' && t<='Z') && v==' ')
        bok[N][t-'A'][27] +=1;
        t=v;
}



All times are GMT +5.5. The time now is 19:57.