No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
5 Posted Topics
I don't have a compiler on this machine, so I'm not really sure about your k and temp being undeclared, but you need to declare your 'm' and 'a[]' before your while loop or else it will try and make a new one every time it loops. And it looks …
I'm getting a compiler error in one of my .c's that I don't understand. I'm getting [icode] Tree.c: In function 'newTree': Tree.c:301: error: expected declaration or statement at end of input [/icode] What I don't understand is that newTree and line 301 are completely separate functions. I can get the …
I wrote a function to read an expression (i.e. A+B-C) from the keyboard one character at a time, and ignoring spaces insert each char into a queue. I tried something I though would be fairly elegant, but I don't think I did it right. This is my function: [code] void …
One thing that I see here is that it looks like its trying to make a new int everytime it loops. Try defining your variables before the while statement.
Try [URL="http://infolab.stanford.edu/~ullman/focs.html"]this[/URL] I'm not sure exactly what you're looking for, but this is the text we're using in my data structures class.
The End.
Etherwind