Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: multi-dim arrays in c



 On Sat, Aug 30, 2008 at 08:24:06AM -0400, Jerry Feldman wrote: 
> This is one case where C++ has an advantage in that you can create a 
> 2 dimensional array class with the x and y dimensions as a private 
> member. 

As it happens, the whole time I was writing my example, I was thinking 
that my methodology was crying out to be implemented as an object, 
with the dimensions supplied to the object as properties of the object 
[which also makes the function (or in that case, method) calls less 
ugly]...  I never got around to learning C++, but had to resist the 
temptation to code it as a Python class. :D  [Of course, there's no 
need to bother with all that in Python...] 

-- 
Derek D. Martin    http://www.pizzashack.org/   GPG Key ID: 0xDFBEAD02 
-=-=-=-=- 
This message is posted from an invalid address.  Replying to it will result in 
undeliverable mail due to spam prevention.  Sorry for the inconvenience. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org