Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

Search results

  1. Chillzy

    Why does this cause a seg fault?

    According to my IDE (CodeBlocks), this bit of code causes a seg fault. I'm trying to fix this but I don't even know why this causes a seg fault so an explanation would be helpful. ``` unsigned char* pixel_offset = data + (j + width * i) * byte_per_pixel; unsigned char y...
Back
Top Bottom