Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ Moderated > Re: Filestream ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 7 Topic 9506 of 10104
Post > Topic >>

Re: Filestream problems

by Michael.Boehnisch@[EMAIL PROTECTED] Apr 17, 2008 at 03:49 AM

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! ]
 




 7 Posts in Topic:
Filestream problems
Hani Sharabash <HaniBa  2008-04-16 11:38:04 
Re: Filestream problems
Michael.Boehnisch@[EMAIL   2008-04-17 03:49:28 
Re: Filestream problems
Ulrich Eckhardt <eckha  2008-04-17 03:59:44 
Re: Filestream problems
Carl Barron <cbarron41  2008-04-17 03:56:36 
Re: Filestream problems
Hani Sharabash <HaniBa  2008-04-17 16:20:31 
Re: Filestream problems
Carl Barron <cbarron41  2008-04-17 19:35:45 
Re: Filestream problems
"Thomas J. Gritzan&q  2008-04-17 19:34:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Oct 15 22:34:13 CDT 2008.