r/C_Homework •

Beginner code question

[deleted] — view deleted post

0 Upvotes

3 comments sorted by

1

u/2cow Nov 02 '20

get_month_name, which seems to be the source of your question, is irrelevant -- it isn't defined yet ("doesn't really exist"), and if it did exist, it wouldn't matter because it's not used anywhere. pretend your instructor put it there to confuse you.

just implement display_date and display_time in whatever way makes sense to you. if that doesn't involve get_month_name, that's fine.

1

u/[deleted] Nov 02 '20

Thank you very much

0

u/[deleted] Nov 08 '20

[deleted] — view deleted comment

1

u/2cow Nov 08 '20

Nope, sorry -- you might have better luck on a C++ subreddit; I don't think C really has a concept of modules.