Hi, there.

I'm having some troubles with my C++ code and I really don't know where it went wrong. Can somebody help me, please?

It was expected to draw a square and change the color when the...