[ create a new paste ] login | about

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

C, pasted on Sep 13:
1
2
3
4
    for (i = y; i < (y + height); i++)
        memcpy((unsigned char *)pd->efl.m + pd->gs.stride * i + x * 4,
               pd->gs.image + pd->gs.stride * i + x * 4,
               width * 4);


Output:
1
2
3
Line 3: error: expected identifier or '(' before 'for'
Line 3: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
Line 3: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token


Create a new paste based on this one


Comments: