Forum: C Sep 23rd, 2007 |
| Replies: 1 Views: 559 I'm curious as to why the following trivial example does not work:
file: new.c
#include "new.h"
void test( char * x )
{
free( x );
} |
Forum: Assembly May 6th, 2007 |
| Replies: 1 Views: 1,736 ooh that's Kruskal's algorithm. That is going to be a beast in assembly. I have some java code for it, but I don't think it would be much help. Good luck to you. |
Forum: Java Apr 4th, 2007 |
| Replies: 0 Views: 1,481 Hi there. I'm trying to write some code to display a graph with nodes/edges on a LayeredPane that will allow the user to move the nodes around. However, I am having some problems getting my nodes... |
Forum: Assembly Feb 16th, 2007 |
| Replies: 2 Views: 1,600 Hi, I'm just starting to learn about x86 assembly and was surprised at the seemingly small amount of registers.
The 8 general purpose registers you always read about /use eac, ebx etc. . are they... |
Forum: Java Dec 14th, 2006 |
| Replies: 6 Views: 1,370 I think it's time to pick up the book "Java Threads" :) |
Forum: Java Dec 13th, 2006 |
| Replies: 6 Views: 1,370 This is the entire class. I do think that it is close to being thread safe. Not that this has to be. This is just me trying to learn about thread safety. How close am I?
//GPL is here. ... |
Forum: Java Dec 13th, 2006 |
| Replies: 3 Views: 5,999 What are you trying to do, exactly?
The usual syntax is JOptionPane.showMessageDialog(null, "string");
However, if you're doing anything more advanced than a one line message, you may want to... |
Forum: Java Dec 13th, 2006 |
| Replies: 6 Views: 1,370 The code I posted is not thread safe, correct? Should it be made so and how would I go about doing that? |
Forum: Java Dec 11th, 2006 |
| Replies: 6 Views: 1,370 I'm trying to figure out implementing the clone() method of Object. I have a class with a few data memebers that I thought I'd try it out on - a node class for a linked list.
So, here's the... |