No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm curious as to why the following trivial example does not work: file: new.c [code] #include "new.h" void test( char * x ) { free( x ); } [/code] file: new.h [code] void test( char * ); [/code] file: weird.c [code] #include "new.h" int main( void ) { char * … |
|
Re:
T=Φ while((T contains less than n - 1 edges) && (E not empty)) { choose an edge (v,w) from E of lowest cost; delete (v,w) from E; if ((v,w) does not create a cycle in T) add (v,w) to T; else discard (v,w); } if (T contains fewer than n-1 … |
|
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 to show up. Whenever I launch the application, I just get a blank window. … |
|
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 the only GP registers on a processor or are there others that depend on the … |
|
Re:
All, I am having a bit of trouble displaying someting using the JOption.Pane format. I know we are not supposed to pose questions here But I am at a loss and simply do not know where to turn. I am writing this code for class. It is a mortgage claculator … |
|
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 class: [code] public class HashListNode implements Cloneable { private String data; … |