Type: Posts; User: C++kingKnowledge
is monthName a string or an int? you never declared it as anything