I need help with my coding!

I´m trying to change the color of the pixels on my window, im using Visual Studio with openFrameworks…
So, I have to use ofColor and ofRandom if i’m not mistaken, but how do i do it? Where do i type it, help pls!

Hi, if you post your code we could provide help but without it is quite difficult.