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

October 2014

S M T W T F S
   1234
567891011
12131415161718
19202122 23 2425
262728293031 

Recent Entries

Search My Blog

0 user(s) viewing

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