Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

C++ Tutorial #4, Loops (2)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
5,367
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 29, 2007

Loops, Program to calculate Prime Numbers (Brute Force Method)

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (zaychenok)

  • You really have to learn the difference between ++i and i++ before making a video like this

    Go read about it..

  • What do you have against my explanation? i++ uses i in expression, then increments it. ++i does incrementation, and then executes the statement. The only difference is in the order. Also, this tutorial was from almost a year ago :p

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!­!!!!!!!!!

  • Thank you man... I really needed help with this one..

  • zaychenok you win as a teacher, thanks mate.

  • using break is lame

  • he explained it fine. hes showing us how to do it all first hand, so his explanations dont need to be perfect, but theyre far from rubbish!

  • if anyone is watching this video and wants to implement this code in their program make sure to put a BREAK statement after 'prime=false;'

    it's more efficient since break leaves the for loop once the job is done.

  • you should consider uploading your source files.

  • Ah ok. Then I'm not sure mate.

Loading...
Alert icon
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