Need Help, Working at this error for hours

This is a discussion on Need Help, Working at this error for hours within the C++ Programming forums, part of the General Programming Boards category; The program compiled without error, but when I ran it, it collapsed without staying what cause the collapse(I hate this). ...

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    42

    Need Help, Working at this error for hours

    The program compiled without error, but when I ran it, it collapsed without staying what cause the collapse(I hate this). The program has two parts: first to store the data in a .txt file and the second part to obtain the data from the .txt file.

    The first part ran fine. The data is able to write on the .txt file.
    The second part is the problem, and I have spent hrs on it without any progress at all. The function that retrieve data from the .txt file is the member function of school: retrieve_file().

    I wrote some data in the main, so when you run the program, a .txt file will create by the write_file(). I commented out the retrieve part. Please HELP. Thank you in advance. Files attached. I used Dev c++.
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Function not working
    By sloopy in forum C Programming
    Replies: 31
    Last Post: 11-12-2005, 07:08 PM
  2. Program Not working Right
    By raven420smoke in forum C++ Programming
    Replies: 2
    Last Post: 09-16-2005, 03:21 AM
  3. Trying to eject D drive using code, but not working... :(
    By snowfrog in forum C++ Programming
    Replies: 3
    Last Post: 05-07-2005, 07:47 PM
  4. x on upper right corner not working
    By caduardo21 in forum Windows Programming
    Replies: 1
    Last Post: 02-20-2005, 07:35 PM
  5. cygwin -> unix , my code not working properly ;(
    By CyC|OpS in forum C Programming
    Replies: 4
    Last Post: 05-18-2002, 04:08 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21