PDA

View Full Version : Problem with C++ Input




Soulstorm
Jun 25, 2006, 07:44 AM
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:
ZeroLink: unknown symbol '__ZN9CustomStr16containsVariableEv'

bankaccount2 has exited due to signal 6 (SIGABRT).
Actually, this program is a revision of the old one (http://users.forthnet.gr/ath/jonmecos/Mainsite/Development/archives/limbo/bankaccount/) 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?



Soulstorm
Jun 25, 2006, 08:11 AM
problem solved

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

gnasher729
Jun 25, 2006, 09:31 AM
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:
ZeroLink: unknown symbol '__ZN9CustomStr16containsVariableEv'

bankaccount2 has exited due to signal 6 (SIGABRT).


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.