>>I'm just learning c++ coming from VB
Heh, I thought so. I'm having issues going from C++ to VB too lol (comp sci class)... everything starts from 0 with me :p
Printable View
>>I'm just learning c++ coming from VB
Heh, I thought so. I'm having issues going from C++ to VB too lol (comp sci class)... everything starts from 0 with me :p
lol. I know the feeling! C++ to VB is just brutal. I havn't used it since I learned C.
Cheers
even VB's arrays start at zero... at least they do in VB.NETQuote:
Originally Posted by Death_Wraith
they do, but its easy to make them start from one, so that what i always did! A bad habit is what that was...
If my memory serves me correctly :pCode:option explicit 0
Code:Option Explicit 0 <- what is this zero here for?
When you place that at the start of a VB module, it makes all arrays zero-based. At least that's what happened in VB 6.0.