Flushing helped a lot. I found the error - I was trying to cram 2 lines into one where I shouldn't have. Thanks Pete.
Type: Posts; User: SnertyStan
Flushing helped a lot. I found the error - I was trying to cram 2 lines into one where I shouldn't have. Thanks Pete.
Oh I can provide the code, it's just that it's rather large and I don't think anyone would want to bother looking at it. Here it is though: http://pastebin.com/d5baf9655
The error seems to be...
Not sure about processor, and I'm remotely connecting to the machine. Using gcc.
Looks like that actually wasn't it, but this is still not making any sense.
I print the values of a and b just...
Yes, I'm sure. a - b was a loop condition, but I pulled this out before the loop and using my usual debugging method, printed both the values of a and b right before the subtraction. I printed...
I'm getting a strange floating point exception. I have:
unsigned long int a;
unsigned long int b;
a is assigned a value of 1356 at some point, and b is assigned a value of 1355 at another point....