On 16 Apr., 19:38, Hani Sharabash <HaniB...@[EMAIL PROTECTED]
> wrote:
> For some reason, opening and using an input filestream is causing
> problems for my binary tree functions. When I try to use them
> together, my program crashes at runtime.
"Crashes at runtime" is a very vague description. Use a symbolic
debugger to track down what your program does right before it crashes.
On Unix/gcc compile with option -g to enable debugging and use e.g.
ddd (very powerful tool!) to step through your code until the crash
happens. On Windows / Visual Studio, the debugger is integrated in the
IDE.
Either option should make it easy to locate your problem yourself. If
you never used a debugger before, appreciate the op****tunity to learn
- its worth the effort.
best,
Michael
--
[ See http://www.gotw.ca/resources/clcm.htm
for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]


|