Skip to main content
GameDev.net gamedev.net
🔒 Locked

Stupid Array Question (VB)

Started by Buster Jan 19, 2001 at 4:50 PM 1 replies 450+ views
Original Post
Buster
Buster
It''s not technically important, but my cube-mate and I were talking about arrays and the question came up... Are VB arrays row-major or column-major? Like I said, it''s not really that important, but I can''t think of anything else until I solve this "mystery". It''s not in any of the documentation that I can find. Anyway, FWIW, I use C/C++ all the time and I treat arrays like they''re column-major, even though they aren''t!
ragonastick
ragonastick
I'd say row major, since VB and VC++ are so similar it isn't funny. But I've never thought about it.

Actually, with dynamic arrays, I think there is some rule about resizing them with preserve which might be a clue. Look into that.

Trying is the first step towards failure.

Edited by - ragonastick on January 19, 2001 11:36:15 PM
Trying is the first step towards failure.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.