is there any way to load an image file (jpg or bmp), modify it, then save it back. For example, change all pixels with the RGB code 0000FF (0,0,255) to FF00FF (255,0,255) or something along these lines. looked through the api, couldn't find anything along those lines, but i may not have looked...
I need a way of accessing the current time, and have no idea how. I was thinking of something along the lines of:
int hour
int minute
int second
int millisecond (maybe float second instead)?
I would then set each of these values to the current value (based on the system clock) and work with...
i need to clear the screen (but have the output start at the top). I believe this will use the cout.clear function, but am unsure how to use it. any help is greatly appreciated.
AV
Hi...i'm getting many (at least 10) parse errors in my program. First of all, i have no idea what 'parse' is.
an example of code, then my error follow. I'm only including one function of the program, all parameters (variables) are properly declared and sent; the function is not overloaded...
how can i have a user press a key (left or right) and have the program recognize it (without an enter)
this program will be running in a loop; it should continue whether or not a key is depressed.
Does anyone know how to get any key pressed by a user?
ie. in a loop, if user presses [right], a variable is incremented, if a user presses, [right], a variable is decremented. I also want this loop to continue running whether the user presses a button or not.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.