>>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
>>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
Just Google It. √
(\ /)
( . .)
c(")(") This is bunny. Copy and paste bunny into your signature to help him gain world domination.
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.NETOriginally Posted by Death_Wraith
Join is in our Unofficial Cprog IRC channel
Server: irc.phoenixradio.org
Channel: #Tech
Team Cprog Folding@Home: Team #43476
Download it Here
Detailed Stats Here
More Detailed Stats
52 Members so far, are YOU a member?
Current team score: 1223226 (ranked 374 of 45152)
The CBoard team is doing better than 99.16% of the other teams
Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)
Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT
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 correctlyCode:option explicit 0
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials
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.
[email protected]
Microsoft Visual Studio .NET 2003 Enterprise Architect
Windows XP Pro
Code Tags
Programming FAQ
Tutorials