D
Default User
Neil said:Post a compilable example of the code that exhibits the behavior.
Barry, I would if I knew where the problem is in the program..
Obviouly the pointers are not causing the problem.
We need a complete, minimal program that demonstrates the problem.
There three conditions there.
1. Complete - A program that can be cut and pasted in our compilers if
we choose, but at the very least we know is not missing something.
2. Minimal - The program reduced down as much as possible. That means
removing parts where you can to simplify it, but still produces the
failing behavior. Often the process will reveal the section with the
bug, but at least you will make the review process easier.
3. Demonstrates the problem - The code you give us should be able to
produce the exact condition you are experiencing. In addition, you need
to tell us what the program was supposed to do, and what it did
instead. If it is failing to compile, transcribe exactly or
(preferably) cut and paste the compiler messages.
Brian