October 23rd, 2011 03:52 PM
I figured this out. I found out I can override a Panel's paint method and now I can paint exactly how I want.
October 23rd, 2011 01:33 PM
I want to add a drawable area to my form for drawing some PNGs and I'd like the origin of of my drawable area to be the corner of a control. I'm assuming a canvas will give me this. I know there is a...
October 21st, 2011 11:24 PM
Not sure about C#, but in Java I know that wouldn't work for me. I would need to hold onto the instance of the object I used as a key. The fact that a different tuple instance contained the same...
October 21st, 2011 05:27 PM
If you have a better suggestion for a way to map 2 keys to 1 value, I'm open to it.
October 19th, 2011 09:52 PM
-.- the error turned out to be that my F keys stopped working. I use the keyboard shortcuts to compile/run. I hit recompile and the error persisted b/c I didn't actually hit recompile since the key...
October 19th, 2011 08:44 PM
I'm trying to make a wrapper class around Dictionary and I'm having trouble getting this to compile. I'm getting the error "Type parameter declaration must be an identifier not a type" when I try
April 22nd, 2011 02:22 PM
No, I can't change myfunc's params. Too much other code uses it. I was hoping to avoid malloc, but it looks like I'll have to do char *foo and then malloc each index.
April 22nd, 2011 01:14 PM
So I have some code like
static void myfunc(char * val)
if(*(val) == 'x')
March 25th, 2010 03:25 PM
When creating a raw socket to send to a TCP socket, is the raw socket supposed to expect an ack back? I was under the impression that it didn't. But I'm getting behavior like it is.
August 27th, 2009 10:50 AM
*edit: Since this topic's still here an I'm having a new problem with mmap I'll just reuse this topic.
What is the purpose of using MAP_FIXED with mmap? Is there an advantage to using it?