Thread: string error

  1. #1
    gongda
    Guest

    string error

    i got this message after compling
    " Segmentation falut (core dumped)"

    what is that supposed to mean?

    thanks for your help

  2. #2
    ATH0 quzah's Avatar
    Join Date
    Oct 2001
    Posts
    14,826
    It means you F-ed up. You're probably using a pointer which isn't initialized or something equally bad.

    To be specific: It means you're accessing memory you shouldn't be accessing. Commonly, as I have stated above, you're probably dereferencing an uninitialized pointer. Or, you're trying to copy memory to a pointer which doesn't have anything allocated for it.

    Quzah.
    Hope is the first step on the road to disappointment.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Compiling sample DarkGDK Program
    By Phyxashun in forum Game Programming
    Replies: 6
    Last Post: 01-27-2009, 03:07 AM
  3. Making C DLL using MSVC++ 2005
    By chico1st in forum C Programming
    Replies: 26
    Last Post: 05-28-2008, 01:17 PM
  4. Inheritance Hierarchy for a Package class
    By twickre in forum C++ Programming
    Replies: 7
    Last Post: 12-08-2007, 04:13 PM