Problem with C++ Input

Discussion in 'Mac Programming' started by Soulstorm, Jun 25, 2006.

  1. macrumors 68000

    Soulstorm

    Joined:
    Feb 1, 2005
    #1
    I am submitting a source of my BankAccount program.

    My problem is that when I try to load a file generated by this program, I end up with a message like this:
    Code:
    ZeroLink: unknown symbol '__ZN9CustomStr16containsVariableEv'
    
    bankaccount2 has exited due to signal 6 (SIGABRT).
    Actually, this program is a revision of the old one which needed a polish (the one in the link is one-year old, when I started learning programming). But the strange thing is that the old one works just fine.

    PS. Yes, I know that I could do the file input by not using classes, but I wanted to do that just because I intend to use those libraries for other programs, too.

    Can anybody have a look at it?
     

    Attached Files:

  2. thread starter macrumors 68000

    Soulstorm

    Joined:
    Feb 1, 2005
    #2
    problem solved

    Apparently, it wouldn't work because of a logical error in the headers that would not be traced.
     
  3. macrumors G5

    gnasher729

    Joined:
    Nov 25, 2005
    #3
    Turn the Zerolink feature off.

    Zerolink is used during development; it allows you starting a program even if parts of it are still missing, and it will run fine until you try one of the missing bits. Quite nice when you are developing and you can start testing while half your code is still missing, but a no-no when shipping a product.

    With Zerolink turned off, the linker will tell you what bits of code are missing.
     

Share This Page