Added: 2 years ago
From: thenewboston
Views: 58,403
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (71)

Sign In or Sign Up now to post a comment!
  • haha....i'm 15 in secondary school,i just watch this for fun and i understand what you said.i've just gotten a new interest.

  • Comment removed

  • 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?

  • @Alexandros5th 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).

  • How to make your computer sound like a vacuum cleaner:

    do {

    printf("%d\n", counter);

    counter++;

    } while (counter>0);

  • thanks for this video, this is a big help to me for this coming departmental test of ours :))..

  • you explained it very effectively thanks a lot

  • what's the function of the counter? I'm sorry I dont know ..:))

  • @mYnameiSma0 it just shows the condition of the loop

  • wow! i found something cool! try this:

    [code]

    int=1;

    while(int>0) {

    printf("%d\n",int);

    int++;

    }

    [/code]

    enjoy...

  • @mastermax7777 int cant be a variable name

  • @bondservant4Him Correct! And even if that "int" is a legal variable, that while loop will execute infinite times!

  • change the while part to say

    }while(counter > -1)

  • 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?

  • @NozFwbit 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...

  • Comment removed

  • 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

  • lol after he typed in coutner.. i was like... nooo.. u have ruined programming for everyone!!!

  • try this 1

    printf("%d", counter);

    counter++;

    }while(counter < 1000000000);

    

  • @psniwillrocku99 u trying to crash ur comp?

  • @DrLafranz no because i hav an alienware m17x i think it will be fine

  • dude u r the only one, u r awesome.Thanxxx a lot God bless you:-)

  • which loop will result in faster average performance: do while or while?

  • what does conio.h means? whats that for?

  • @MrKyte12 conio.h is a non standard, little supported header file which should generally be avoided.

  • @cplusplusish but what does it do?

  • Save some typing: do{ printf("%d\n", counter++); }while(counter <10);

  • you should teach C programing at an university.

  • nice tutuorials dude they realy help a lot

  • CS50.net

  • You have that cough every single Video xD

  • My favorites on youtube, are; Ray william johnson, Jimmyr and you!

  • How to Test on numbers in general????

    so if I typ an character it should be wrong

    and vice versa. on characters.

    if I Typ an number it should be wrong.

  • You skipped for loops! D=<

  • that was neat and informative. thanks!

  • this is great dude! i hope u make alots of tutorials... nys whooping cough hehe...anyway thank you again

  • great job friend

  • 9 Tutorials in, and still got the cough..... Gutted

  • @CraigMcAllisterMusic :-i think he did all d tutorials on same day.

  • why is the void inside the main parentesis?? for what is that?

  • do you do pic microcontrollersssss? and header files?

  • @TurKdiRty wanna learn about header files? Message me, ill try to help you/.

  • would u tell me whatt software u using??

    at this moment, i am using visual studio 08 but it still good as ur's during show the error

    i reali like that

    thx...

  • @deeshrn520

    DEV C++ by bloodshed

  • dev c

  • TQ very much, your tut are awesome, but one Request, when you have your "whooping" cough, don't cough in the mic, as it looses my atttn span, Please cough away.

    Thnks

  • wtf!

    if you wanna learn,you have to love his whooping coughs aswell!

  • I hope you are joking, other wise you have the attention span of an infant

  • your HP is opened in Japan. Anyway, more C tutorial please

  • i really like this tutorial.. every easy to understand.

  • dude thank your for C tutorials, they've been a great help!

  • it worked fine for me

    thx

  • any1 know why i keep getting 2293620 9 times down the screen when i compile and run the program? all other tuts have worked fine up until now :S

  • great .....................

  • hey ur tutorials are really simple to understand and geneterated a new interest in C programming,,,thnx a lottttttttttttttttttttttt.

  • Exactly. I been trying to learn in C, but couldn't find any tutorial to keep me informed of what is going on. Next, I tried learning in BASIC, but found it too hard. Strangely, now I find C programming much easier with these tutorials. Hopefully I can master it. Great tutorials!

  • the hardest part for me was to find a good compiler. this one is awesome because it begins right in the beginning downloading the compiler the configuration and stuff

  • its kind of fun too. And if you ever plan on working with video games, you need to know C or C++

  • @biswa12341234 faggot.

  • i hate loops :O they are hard for me, iam never getting them

  • Posted a C++ version of the tutorial

  • Bucky Your tutorials are like of the pros.

  • Thanks!

  • good job

  • Fine job. Not extemely high use of this though in the wild, as far as I can tell. But when its handy it really handy.

  • while(1)printf("FAGGOT");

  • nice

  • 1st

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more