I've got this code 'snippet' that is giving me problems. Isn't max(val, 255) part of the <iostream> library? I get an error when I use it like this:
Says that 'max' : undeclared identifier ... andCode:val=max(min(val,0),255);
'min' : undeclared identifier
I've been looking at libraries to see if there is another I am supposed to include, but I haven't found anything helpful.