[ create a new paste ] login | about

Link: http://codepad.org/OMoZ67lb    [ raw code | output | fork ]

C++, pasted on Apr 12:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
for(int i=0;i<4;i++){
    if (Edit[i]==Edit1[i]){
        // бык
    }else{
        bool isMatch=false;
        for(int j=0;j<4;j++){
            if (Edit[i]==Edit1[j]){
                isMatch=true;
            }
        }
        if (isMatch){
            //корова
        }
    }
}


Output:
1
2
Line 1: error: expected unqualified-id before 'for'
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: