C++ drawCalendar function efficiency

1 reply [Last post]
jons0n
jons0n's picture
Offline
Neophyte
Joined: 2010/02/03

okay, i've written this program completely on my own for an assignment in my programming class. i've been brainstorming for a few hours now trying to come up with a more efficient / elegant way to write the drawCalendar function, however, i still haven't been able to come up with anything better than what i already have. if anyone would like dive into this and see what they can come up with, i'm all ears.

since these forums aren't exactly code friendly, i'm posting a sourceforge link to the code.

http://softlayer.dl.sourceforge.net/project/calendar1/Calendar1.cpp