|
|
|
|
if (trav->previous())
check, it keeps touching a NULL previous pointer and crashing. So that's why that's there.const size_type _Right_size = _Right_data._Mysize;
. The function itself is:
|
|
|
|
: m_name{ name }, m_myth{ myth }, m_vehicle{ vehicle }, m_weapon{ weapon } { }
It's an infinite loop unless I exit the debugger. |
Don't you realize that I can't do anything right now? |
I can't step through or step out anywhere with the way it is currently. |
Please read my posts carefully. |
but I get stuck at the "Source Not Found" area |
norse_gods list: { Name: Baldr; Myth: Norse; Vehicle: A giant ship called Hringorni; Weapon: None Name: Frejya; Myth: Norse; Vehicle: Chariot pulled by two cats; Weapon: Magic called seidr Name: Odin; Myth: Norse; Vehicle: Eight-legged flying horse called Sleipnir; Weapon: Spear called Gungnir Name: Thor; Myth: Norse; Vehicle: Chariot pulled by goats Tanngrisnir and Tanngnjostr; Weapon: Hammer called Mjolnir } greek_gods list: { Name: Ares; Myth: Greek; Vehicle: War chariot; Weapon: Sword and spear Name: Athena; Myth: Greek; Vehicle: N/A; Weapon: Allowed to use Zeus's Thunderbolt and the Aegis Name: Hera; Myth: Greek; Vehicle: A chariot drawn by peacocks; Weapon: Her intelligence Name: Zeus; Myth: Greek; Vehicle: A chariot pulled by the four major winds shaped as horses; Weapon: Thunderbolt and the shield called Aegis } gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) } jap_gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear } jap_gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } jap_gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } jap_gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } jap_gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } jap_gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } jap_gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } |
norse_gods list: { Name: Baldr; Myth: Norse; Vehicle: A giant ship called Hringorni; Weapon: None Name: Frejya; Myth: Norse; Vehicle: Chariot pulled by two cats; Weapon: Magic called seidr Name: Odin; Myth: Norse; Vehicle: Eight-legged flying horse called Sleipnir; Weapon: Spear called Gungnir Name: Thor; Myth: Norse; Vehicle: Chariot pulled by goats Tanngrisnir and Tanngnjostr; Weapon: Hammer called Mjolnir } greek_gods list: { Name: Ares; Myth: Greek; Vehicle: War chariot; Weapon: Sword and spear Name: Athena; Myth: Greek; Vehicle: N/A; Weapon: Allowed to use Zeus's Thunderbolt and the Aegis Name: Hera; Myth: Greek; Vehicle: A chariot drawn by peacocks; Weapon: Her intelligence Name: Zeus; Myth: Greek; Vehicle: A chariot pulled by the four major winds shaped as horses; Weapon: Thunderbolt and the shield called Aegis } jap_gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } gods list: { Name: Amaterasu; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Kusanagi, Jewel of Yasakani, Mirror of Yata Name: Bishamonten; Myth: Japanese; Vehicle: N/A; Weapon: A spear Name: Izanagi; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka (later given to Susanoo) Name: Susanoo; Myth: Japanese; Vehicle: N/A; Weapon: Sword of Totsuka } |
|
|
delete gods->find("Izanagi");
line in main() and this part in find():
|
|
tail = tail->m_succ;
line.
But I have a read access violation error being thrown on the delete gods->find("Izanagi"); line in main() |
and this part in find(): |