Subscribe to 10 GOTO 10        RSS Feed
* * * * *

Beginner Series: Lookup Table

Icon 3 Comments
Lookup Tables



a very common pattern in programming is converting a number into some enumerated string. Like converting 1 into January, 2 into February etc. -- these kinds of problems are often done with switch statements like so:

...

Page 1 of 1

August 2014

S M T W T F S
     12
3456789
10111213141516
17181920212223
242526 27 282930
31      

Recent Entries

Search My Blog

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)