Added: 4 years ago
From: zaychenok
Views: 5,372
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

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..

  • using break is lame

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

  • zaychenok you win as a teacher, thanks mate.

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

  • you should consider uploading your source files.

  • umi seem to be having a problem with the getch(); on this file for some reason even after i type what you have typed it says it is wrong...

  • Did you include conio?

    #include "conio.h" <-- That's how you write it in Microsoft Visual Studios

  • no im using dev-c++ from bloodshed software

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

  • Thanks alot! i have been looking for a way to find prime numbers in c++! thank you man, excellent tutorial.

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