You should also loop into while loops and for loops. |
|
You should also loop into while loops and for loops. |
|
Well, one of them is a while loop, and one is a do while loop. I don't really understand the difference, even after reading about it. |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
Thanks, slash. |
|
Yea... I was wondering the same thing. |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
alright, I wrote a program that gives you the circumference of a circle after you put in the circumference and the approximate of pi. |
|
|
|
Last edited by ninja9578; 01-11-2010 at 01:18 AM.
|
|
I understand why you want to get into GUI stuff, but trust me, at this stage it'd just confuse you |
|
(\_ _/)
(='.'=)
(")_(")
Nice, guitarboy. It's funny how different I would do it from that. It's amazing the amount of possibilities for one single purpose. |
|
-- My Videos --
DILD Tutorial| |WILD Tutorial| |DEILD Tutorial| |Lucid Dreaming is The DEVIL?!
Reality Check! (new)| |Why you're not getting LUCID| |Why NOT to be Scared of SP
The difference has to do with where the check is made. In the first bit of code, the check doesn't happen until after what's inside the loop has been done, therefore, it ALWAYs gets done at least once, the second piece of code does the check beforehand, so it may never get called |
|
Bookmarks