S
Sweetness
I am writing a program for class that returns a persons Birthstone,Sign and
Season born in... after they input their Birthday and If I hard code in the
stone it works but if I use this code:
string Stone[13] =
{"Invalid","Garnet","Ameythist","Bloodstone","Diamond","Emerald","Pearl","Ruby","Periodt","Sapphire","Opal","Topaz","Turquoise"};
seeMonth = seeDate.getMonth();
BS = Stone[seeMonth];
I get this error:
Unhandled exception at 0x00421cd6 in Birthday.info.exe: 0xC0000005: Access
violation reading location 0x6679619c.
What does it mean?
Season born in... after they input their Birthday and If I hard code in the
stone it works but if I use this code:
string Stone[13] =
{"Invalid","Garnet","Ameythist","Bloodstone","Diamond","Emerald","Pearl","Ruby","Periodt","Sapphire","Opal","Topaz","Turquoise"};
seeMonth = seeDate.getMonth();
BS = Stone[seeMonth];
I get this error:
Unhandled exception at 0x00421cd6 in Birthday.info.exe: 0xC0000005: Access
violation reading location 0x6679619c.
What does it mean?