If you like the video, share it with your friends on these social sites:

 

Title: C Programming Tutorial - 7 - More on Loops

Added: Feb 28, 2009

Author: thenewboston

Duration: 6:11

Description:
Part 8 - http://www.youtube.com/watch?v=uw95S87TW8sAll of this code is FREE on my website http://thenewboston.com

Related Videos:

Videos related to 'C Programming Tutorial - 7 - More on Loops'

Channel: Howto

Tags: loops  while  for  loop  bucky  computer  programming  tutorial 



loops  while  for  loop  bucky  computer  programming  tutorial 

Youtube Comments: 82

WinXPproff Says:

Jul 8, 2011 - Thanks a lot!!! Its realy helpfully.

ShakkIsLife Says:

Jul 23, 2011 - Or to increment by 1, use 'variable++'

ShakkIsLife Says:

Jul 23, 2011 - Woops, I replied before watching the video.

LightningHexagon Says:

Aug 18, 2011 - Here's a simple exercise:Write a program that allows the user to enter N number then calculate thearithmetic mean.PS: pm for code

LightningHexagon Says:

Aug 18, 2011 - *N numbers

TheChatbug Says:

Sep 7, 2011 - He still has wooping cough, poor guy.

alaax4max Says:

Sep 29, 2011 - thanks. thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.thanks.

qAyyUm Says:

Oct 3, 2011 - Here are some of my code.. while(1) //Repeatedly { if (PORTDbits.RD1==0) //sw0 pressed start sound { while (PORTDbits.RD0==1) //do repeat if sw1 not pressed { PORTDbits.RD6=0; //press 1(sw0) Green Off, Red On PORTDbits.RD4=1; //press 2(sw1) Green On, Red Off PORTDbits.RD3=0; //press 2(sw1) sound on Delay1sec(); PORTDbits.RD3=1; Delay1sec(); } PORTDbits.RD6=1; //Green On PORTDbits.RD4=0; //Red Off PORTDbits.RD3=0;  //sound off } } } Im using PIC18F4550.. somebody can help?

qAyyUm Says:

Oct 3, 2011 - hello sir, how do i put loop in a loop? i got this problem.. for example..when i press the on it will activate sumthing for 20 sec after that it change to off automatically.. any idea? hope to hear from u.. thank you.. btw great video..

young2theb Says:

Nov 25, 2011 - Hey Bucky this is totally unrelated to the matter at hands but which do you prefer macs or pc?

MaxOp1234 Says:

Dec 30, 2011 - the people that disliked this clearly have no f**king idea what hes talking about but other than that HOW COULD YOU NOT LIKE THESE THINGS HE IS TEACHING YOU I MEAN REALLY COMEEEE ONNNNN!!!!!!

MrVidposter101 Says:

Dec 30, 2011 - OR counter++; does the same thing but shorter

harlytrav Says:

Dec 31, 2011 - He did say counter++. Though counter++ only adds 1

taetantantan Says:

Jan 16, 2012 - hey buck well so im new to this stuff, have you made any videos involving 'harder' combination problems? by combination i mean like all of the past videos combined like switch-looping or something.

davidspiteri77 Says:

Jan 29, 2012 - he is a huge help i agree

tadm123 Says:

Jan 31, 2012 - How can i program it so the user is the one who enters the increment he wants?

tadm123 Says:

Jan 31, 2012 - What if you want 30 lines to appear? (note : lines, not the actual value) What funciton do you use?

bondservant4Him Says:

Feb 2, 2012 - you need a loop

edwinsai Says:

Feb 12, 2012 - How About NESTED LOOPS?

severebrutalized Says:

Mar 17, 2012 - Do I need to restate "counter =1" in the for loop again even though it's already declared above as "int counter =1"?Thanks.

bondservant4Him Says:

Mar 17, 2012 - you dont have to

yanick534 Says:

Mar 18, 2012 - they should make a bukky function for C

TheThomaswastaken Says:

May 1, 2012 - If you have two for loops in a row, you need to restate it. And in other programming languages, it is more useful than in 'C' to have that "counter = 1" part of the FOR loop. Otherwise, no. You don't need to restate it, but it is good programming style to restate it.

Shopping | prank calls | Wholesale products | english movies | prank calls | proxy | links | prank call

Topfacebookvideos funny arabic videos

Privacy Policy