laurel-thomson / Horoscope

2 stars 2 forks source link

Create a 2D array of Fortunes from CSV #8

Open laurel-thomson opened 6 years ago

laurel-thomson commented 6 years ago

Read in a list of fortunes from a CSV in the format: <zodiac sign>,<moon phase>,<fortune>.<new line>

Convert this list of fortunes to a 2D array of char pointers. The first dimension is the moon phase, from the corresponding moon phase enum and the second dimension is the zodiac sign, from the corresponding zodiac enum.

laurel-thomson commented 6 years ago

Right now, there are fortune values hard-coded into a 2D array.