laurel-thomson / Horoscope

2 stars 2 forks source link

Added month and basic zodiac structs #1

Closed montgomerysamantha closed 5 years ago

montgomerysamantha commented 5 years ago

Hi! So I've created the basic month struct, and then filled it in with all the months (see month.h for the declarations). Next, I made the zodiac struct. It's pretty empty / useless right now, but I was just doing some testing with it. That's in zodiac.h. Finally, there is a date struct that I made which has values for the month and day in date.h.

For the main program, all it does right now is look at the test date I've chosen (January 21) and figure out what sign it is. Note: I haven't defined all the signs right now except for Aquarius. Lol. I based the if statements off of this program in C++.

Right now, it's pretty ugly and hard-coded but I'm trying to get it better. Let me know what you guys think.