How to draw pixel at specific location on the buffer?

I don’t think I would like to do that every time I test the code, because I test each step I’m doing.

Anyway, I think Processing won’t be so much useful for me right now !

I can’t do simple things like in C !

I think Processing is JAVA.

There are different problems.

  1. “char” is 16-bit, which would lead to a more difficult programming for me.
  2. I want to work on bit checking/shifting. Where my array is 8-bit, so I don’t know how Processing would treat my 8-bit array of type “char” !

These problems could be solved basically, I’m trying now.

My current problem is this:

      if (BMP[y*8] && shifter){
        pi.pixels[y] = color(white);
      }
      else {
        pi.pixels[y] = color(black);
      }

I get this error problem:

The operator && is undefined for the argument type(s) char, int

What to do now ?