helloworlder


Member since 2009

1 snippets

3846 profile views

1 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet

helloworlder's Recent Snippets



« Prev 1 Next »
Convert a coordinate (x,y) into the index for a 1D array. For example, the coordinate (3,1) would be at array index 8 if there are 5 columns. Assumption: Arrays start at 0.
0 4108 posted 17 years ago by helloworlder
« Prev 1 Next »