Hi!
string* pWordlist;
pWordlist = new string[elements];
for(int i=0; i < elements; i++)
***pWordlist[i] = "";
...
pWortliste[tmpelement][previous] = buf[i];
aborts ("Aborted") at
tmpelement = 13;
previous = 0;
where until that point everything went fine (last values for both
variables were 12). tmpelement is still fairly lower than elements is.
"strace ./a.out" says
write(1, "tmpelement: 13 previous"...,
38tmpelement: 13 vorgaenger: 0) = 38
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
getpid() = 32184
kill(32184, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
What the hell is wrong with this?
best regards
Moritz Beller
--
web http://www.4momo.de
mail momo dot beller at t-online dot de
gpgkey http://gpg.notlong.com