Forum: C 23 Days Ago |
| Replies: 8 Views: 305 ***Deleted accidental duplicate post*** |
Forum: C 23 Days Ago |
| Replies: 8 Views: 305 I think that it might be useful to generalize this a bit more. The problem is that you didn't distinguish between what happens (or can happen) at compile time from what happens (or can happen) at run... |
Forum: C 23 Days Ago |
| Replies: 4 Views: 246 I'm not 100% sure about this, but I suspect that you are seeing the result of a compiler optimization. The "const" is telling the compiler that the value of j won't be changing. On the other hand,... |
Forum: C Aug 17th, 2009 |
| Replies: 7 Views: 2,490 How about a completely different approach that avoids all the dividing and most of the comparisons and is easily extensible to longer word lengths and can be fixed up to return the string.
... |
Forum: C Aug 11th, 2009 |
| Replies: 6 Views: 1,114 I realize that this thread is old, but it is still useful to correct an erroneous assertion about inb(), outb(), etc., especially given that Google drops people in here when looking for an answer to... |