Thread: segmentation fault upon reload

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #7
    Registered User
    Join Date
    Nov 2006
    Posts
    5
    the problem is im not exactly sure why its causing a segmentation fault. it only occurs when i enter data to the files and then close the program, reopen and try to view...

    and sorry so to confirm i should replace that with

    Code:
    fgets(account_description[tot_accounts], sizeof(account_description[tot_accounts]),fp_account);
    followed by what in code?
    Last edited by yabud; 12-18-2006 at 05:41 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Segmentation fault problem
    By odedbobi in forum Linux Programming
    Replies: 1
    Last Post: 11-19-2008, 03:36 AM
  2. Segmentation fault
    By bennyandthejets in forum C++ Programming
    Replies: 7
    Last Post: 09-07-2005, 05:04 PM
  3. Segmentation fault
    By NoUse in forum C Programming
    Replies: 4
    Last Post: 03-26-2005, 03:29 PM
  4. Locating A Segmentation Fault
    By Stack Overflow in forum C Programming
    Replies: 12
    Last Post: 12-14-2004, 01:33 PM
  5. Segmentation fault...
    By alvifarooq in forum C++ Programming
    Replies: 14
    Last Post: 09-26-2004, 12:53 PM