Thread: compiling error
View Single Post
Old Nov 2nd, 2006, 10:13 PM   #43
The Dark
Expert Programmer
 
Join Date: Jun 2005
Posts: 825
Rep Power: 4 The Dark is on a distinguished road
Quote:
Originally Posted by brad sue View Post
About the debugger, I really tried but there is a bunch of commands that does not make too much sense to me.

About the comment of The Dark, refering to post#29 , I think I do not need to set the values of height and width since it is a member function.
so I still get the error.
You have changed the size of the pixels array to match the new width and height. When you next try to set a pixel or print the screen, the pixels member variable will be pointing to a buffer that matches the new width and height, but the width and height member variables will still have the old values. This will mean that you won't print what you are expecting to see.

I assume that that is the error you are seeing - its not printing correctly - as you haven't told us what the error is.
The Dark is offline   Reply With Quote