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

September 2014

S M T W T F S
 123456
78910111213
14151617181920
21222324252627
2829 30     

Recent Entries

Search My Blog

0 user(s) viewing

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