DECwakeboarder Posted October 28, 2005 Posted October 28, 2005 Also, you have an array of 6 elements but only fill 5. Share this post Link to post Share on other sites More sharing options...
Archerzz Posted October 28, 2005 Posted October 28, 2005 You were right . Now I can quit programming in peace. 567780[/snapback] As long as I have been here which is not very long at all I believe you have quit programming 4 times as of now. How long will this last one last........ Sorry that you are quitting programming is fun. Share this post Link to post Share on other sites More sharing options...
cchalogamer Posted October 28, 2005 Posted October 28, 2005 Either stop it (for 1yr+) this time or start on a new language. I've lost out of the times you have quit.... Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted October 28, 2005 Posted October 28, 2005 Also, you have an array of 6 elements but only fill 5. 567945[/snapback] Array elements start numbering at 0. So 0-5 = 6 elements. Share this post Link to post Share on other sites More sharing options...
Verran Posted October 28, 2005 Posted October 28, 2005 Array elements start numbering at 0. So 0-5 = 6 elements. 568018[/snapback] Actually, he's right. Your loop runs from i=0 to i<5, so when i=5 the loop ends (since 5 is not less than 5). If you want it to run 6 times, you need to either make it i<6 or i<=5. That way the loop will run for i=5, and stop when i=6. Share this post Link to post Share on other sites More sharing options...
cchalogamer Posted October 28, 2005 Posted October 28, 2005 Actually, he's right. Your loop runs from i=0 to i<5, so when i=5 the loop ends (since 5 is not less than 5). If you want it to run 6 times, you need to either make it i<6 or i<=5. That way the loop will run for i=5, and stop when i=6. 568024[/snapback] Yep, looks like KB just got "told" Share this post Link to post Share on other sites More sharing options...
apostolics Posted October 28, 2005 Posted October 28, 2005 i ned to go back to school Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted October 28, 2005 Posted October 28, 2005 Thanks for correcting me Verran . I make mistakes like that a lot, it seems. Share this post Link to post Share on other sites More sharing options...
Verran Posted October 28, 2005 Posted October 28, 2005 Thanks for correcting me Verran . I make mistakes like that a lot, it seems. 568086[/snapback] Meh, your errors are almost always just syntax, which is the easier part to learn. The theory is the harder part to grasp, and you seem to have a pretty good hold on that already. Share this post Link to post Share on other sites More sharing options...
Kamikaze_Badger Posted October 28, 2005 Posted October 28, 2005 Ummm... uhhh... I blame ze French! (And Canada, because danyo always makes a huge deal about it). This is like me preparing to do Calculus instead of Intro to Algebra. Share this post Link to post Share on other sites More sharing options...
markiemrboo Posted October 30, 2005 Posted October 30, 2005 Ummm... uhhh... I blame ze French! (And Canada, because danyo always makes a huge deal about it). This is like me preparing to do Calculus instead of Intro to Algebra. 568159[/snapback] Want some chewing gum? Go on.....! It's fresh straight from my jacket pocket (eh?!? actually unopened!) Having fun?! Share this post Link to post Share on other sites More sharing options...
cchalogamer Posted October 30, 2005 Posted October 30, 2005 Meh, your errors are almost always just syntax, which is the easier part to learn. The theory is the harder part to grasp, and you seem to have a pretty good hold on that already. 568090[/snapback] You know I honestly think KB's overall mental state leads him to get the "hard" theory based stuff easier than the "simple" things. Somethign tells me that if he ever learns to balance it all, he could be a coding "master" Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now