I had actually never used the ternary operators before this assignment (and I agree with your assessment of how those lines are written). The prof had two requirements for the assignment -- design...
That function was the first culprit that I looked at, but removing the function entirely gives the same crash. I check bounds on the parameters before they are passed to the function, which should...
I think this was a compiler error (2nd on this project). It resolved after I commented out a Debug.Assert call elsewhere in the code. Totally unrelated to the form handling, and shouldn't be...
I use Form_Load. Here's the initialize event. All it does is fill an array and set the form's icon. I don't touch any of the controls until the Form_Load (some of them may move if the form...
I use LBound out of habit. After sprinkling some MsgBoxes around, the problem seems to be in the order that the form is being built. I call it like this:
I've run into a perplexing problem. I have a program that runs fine in the debugger, but throws a subscript error when compiled. This is the procedure that errors:
One thing to add -- if the "grey area" is where the hidden form was, you might have to force the mdi parent to redraw itself. Either toss a DoEvents into your Form2 loading code or explicitly call...
@dglienna - zMud is intended for parsing output from a text interface, so this really isn't a cheat (more like a functionality extension). I used to use it when I had enough time to go mudding.
...
I think the CopyFileEx API will let you copy files bigger than 4GB (not sure as I don't have a file to test it on). Check out the sample code on AllAPI.net. You need to control the progress display...
Good point, and it expands on what I was talking about in terms of "robustness". What inheritance and function pointers let you do is write one bit of code that is generic to all of the objects in...
The main thing you should determine is if function pointers are going to make things easier for you. For example, if you have lots of different types of actions that the player (or critters) can...
We don't have our own ISP, but we are required to use an encrypted secure mail system for a bulk of our external communications. Generally if we are required to fax something as opposed to imaging...
I would try to find the window that the fax software opens and automate it. While it may not be the ideal solution, as others in the thread have pointed out, other solutions can be extremely...
Dump the bitmap into a 2 dimensional array. Then just transpose the rows and columns. This should give you the basic gist, to rotate clockwise you need to change the write order:
Right idea, but it looks like the function attempts to determine the maximum and minimum values in the array. As far as I can tell, the data type of the array shouldn't be relevant -- it's the data...