Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~643 People Reached
Favorite Forums

5 Posted Topics

Member Avatar for alcx88

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 …

Member Avatar for Adak
0
139
Member Avatar for Etherwind

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 …

Member Avatar for Etherwind
0
186
Member Avatar for Etherwind

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 …

Member Avatar for WaltP
0
110
Member Avatar for TimCereja

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.

Member Avatar for TimCereja
0
101
Member Avatar for nateuni

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.

Member Avatar for Etherwind
0
107

The End.