|
|
|
|
Title: C Programming Tutorial - 9 - Do While Loops
Added: Feb 28, 2009
Author: thenewboston
Duration: 4:25
Description:
Part 10 - http://www.youtube.com/watch?v=-NigITzZteMAll of this code is FREE on my website http://thenewboston.com
Related Videos:
Videos related to 'C Programming Tutorial - 9 - Do While Loops'
Channel: Howto
Tags: loops while for loop bucky computer programming tutorial
loops while for loop bucky computer programming tutorial
Youtube Comments: 76
DrLafranz Says:
Jun 9, 2011 - hmm.. i mean.. i guess do loops is a way of making a time delay between running a set of commands... is their a more efficient way of delaying time? im not sure if do loops are used for this .. but thats what comes to mind
psniwillrocku99 Says:
Jun 9, 2011 - no because i hav an alienware m17x i think it will be fine
WinXPproff Says:
Jul 8, 2011 - Thank you a lot. You tutorials are so simple to understand, short and very usefull.
NozFwbit Says:
Jul 8, 2011 - I tried running this without initially setting counter to 1, and it began at 2 (i.e. counted from 2 - 9). After a little investigation, it appeared that counter was set to 2 as a default. Anyone know why this is?
cookiesRgood26 Says:
Aug 3, 2011 - did you set it to 2 or did it just start that way? I think that if an integer isn't directly given a value the computer just makes one up from 1 to 10. I may be wrong but while making an infinate counting loop for fun, I didn't assign a value to my variable and it started from 5...
cookiesRgood26 Says:
Aug 3, 2011 - change the while part to say}while(counter > -1)
mastermax7777 Says:
Aug 4, 2011 - wow! i found something cool! try this:[code]int=1;while(int>0) { printf("%d\n",int);int++;}[/code]enjoy...
bondservant4Him Says:
Aug 8, 2011 - int cant be a variable name
LightningHexagon Says:
Aug 14, 2011 - Correct! And even if that "int" is a legal variable, that while loop will execute infinite times!
mYnameiSma0 Says:
Sep 20, 2011 - what's the function of the counter? I'm sorry I dont know ..:))
bondservant4Him Says:
Sep 20, 2011 - it just shows the condition of the loop
shuwukong Says:
Oct 7, 2011 - you explained it very effectively thanks a lot
tedkenneth14344 Says:
Oct 16, 2011 - thanks for this video, this is a big help to me for this coming departmental test of ours :))..
Moisesireyes Says:
Oct 19, 2011 - faggot.
ViktorBluhme Says:
Nov 21, 2011 - How to make your computer sound like a vacuum cleaner:do {printf("%d\n", counter);counter++;} while (counter>0);
Alexandros5th Says:
Dec 7, 2011 - do I need to place int main (void) in the beginning? why not simply put main(void) or main()? and what's the difference between these three?
Radnyxerr Says:
Jan 20, 2012 - int implies it to be a value, the parentheses tell it that it's a function. If we said just main(void) then the compiler wouldn't know what it's returning. (int main() works fine too).
Demonster99 Says:
Feb 29, 2012 - your making an fsc student's job to learn programming alot easier!!! KUTOS
IrkenTallestBlue Says:
Apr 19, 2012 - MOAR C! Your tuts are amazing!
TheThomaswastaken Says:
May 1, 2012 - Took my professor a month to cover the same amount of material TheNewBoston covered in an hour. My professor did a poor job too.
dhcrazy333 Says:
May 4, 2012 - Still got that whooping cough... poor guy.
GrovtPWT Says:
May 24, 2012 - Son of a... doesn't work out good tutorial though.How the heck is end { and error and getch(); errors? UGH!












DrLafranz Says:
Jun 9, 2011 - u trying to crash ur comp?