Thread: major problems...

  1. #1
    Registered User GiraffeMan's Avatar
    Join Date
    Feb 2002
    Posts
    20

    Unhappy major problems...

    hey ppl...
    I know it's quite bad submitting all this code, BUT...
    I've been trying to figure this one out for about 2 weeks and still I can't understand...
    We have written a project in C++ to conduct a video shope. everything works fine, but after opening the program for the second time, it tries to read from the files (saved info) and commits a fatal error...

    PLEASE HELP ME, I tried everything I just can't see the problem..
    I'm including all the code. I'm sorry about that but please help me...
    THE GIRAFFE MAN
    "our heads in the skies, but our feet on the ground"....

    http://dagan.150m.com

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    194
    Are you sure that your Btree class works 100% correctly?
    I was playing around with your program, and the 3rd option would act up at certaint times, causing the program to crash, this was before i even tried to save the files.
    I dont have msvc++ set up on this computer so i cant help with any debugging, but it would be easier to debug if you saved the files as plain text. Maybe something is getting corrupted in the btree, or when you save it.
    The project looks pretty much finished, This is where you have to thorougly test each function to make sure it behaves exactly like you think it is.
    Comment out the main that you have, and create a debugging one, that will test btree, I would add a print function to the tree, so you can display the info on the screen while it is running.

  3. #3
    Registered User GiraffeMan's Avatar
    Join Date
    Feb 2002
    Posts
    20
    Thanks RpiMatty,
    the files need to be saved in binary format, so I can't change that...
    I did try working my way slowly up the debugging tree :0 the major problem was that it kept getting stuck.. I was hoping it was some sort of a stupid little thing I forgot, but it turns out to be bigger then I thought.... probebly something to do with my understanding of C++, problem is that even with the debugger I would never get that mistake...

    please help

Popular pages Recent additions subscribe to a feed