student database with linked list access violation (segmentation fault) problem

This is a discussion on student database with linked list access violation (segmentation fault) problem within the C++ Programming forums, part of the General Programming Boards category; hi all, when i run the following cod it ok but when sorting initial student name it shows me the ...

  1. #1
    Registered User
    Join Date
    Nov 2012
    Posts
    7

    student database with linked list access violation (segmentation fault) problem

    hi all, when i run the following cod it ok but when sorting initial student name it shows me the run time error "access violation (segmentation fault) raised in your program" in DEVc++
    please help me fix this error.
    Attached Files Attached Files

  2. #2
    SAMARAS std10093's Avatar
    Join Date
    Jan 2011
    Location
    Nice, France
    Posts
    2,694
    C post in C++ thread.Why? Mohamed it would be nice if you post in the right thread
    I guess the admins are going to move it

    The extension of the file should be .c and not .cpp

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,855
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Access Violation: Segmentation Fault help
    By Isaiah in forum C Programming
    Replies: 4
    Last Post: 02-09-2012, 07:53 AM
  2. Access Violation(Segmentation Fault) error
    By nirvana619 in forum C Programming
    Replies: 5
    Last Post: 08-27-2010, 09:43 AM
  3. An Access Violation Segmentation Fault. Need Help ASAP
    By darknessfalls in forum C Programming
    Replies: 2
    Last Post: 08-22-2010, 06:56 AM
  4. Getting Access Violation (Segmentation Fault)
    By Brownie in forum C++ Programming
    Replies: 2
    Last Post: 09-26-2008, 12:43 PM
  5. access violation (segmentation fault)
    By MarlonDean in forum C++ Programming
    Replies: 7
    Last Post: 05-16-2008, 06:02 AM

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