C++ Tutorial 7 : Solving Problems

Get the Code :
Best C++ Book :

In this tutorial we continue solving problems with C++. We’ll solve the Caesar Cipher, Solve Equations for X, Create Lists of Primes and Generate a List of Random Values in a Range. I’m making these videos to make you good at solving random problems rather then just covering language syntax. Don’t worry if you get them wrong. The goal is to make you think in new ways.






9 responses to “C++ Tutorial 7 : Solving Problems”

  1. Adrian Palczak Avatar

    Hi Derek! I hope you have a great time, because me watching your videos surely have 😉 I have one small question though on C# tutorial – is it ok to make the Android Apps in it (using VS) or should I switch to Java as native environment? What's your opinion? It's shame your last java tutorial is like from 3 to 4 years ago, I'd like to learn from it (if you suggest me taking Java) but I don't know if having it so down to date would be problematic :/
    Great thanks for the tutorials and you have another Patron! 😉

  2. Exodus Avatar

    Hey Derek 🙂 can you please cover string streams more in depth?

  3. Marcin Pęczkowski Avatar

    Hi, thanks for this series. I like the way you emphasize problem solving rather than just covering language syntax.
    I have a question/remark related to IsPrime() function.
    Isn't it better to use a simple for loop instead of "foreach" and Range() function?
    for (int i = 2; i < num; i++) {
    if ((num % i) == 0)
    return false;

    I've measured execution time of GetPrimes() for maxNum=10k and the difference is huge: 22ms vs 46759ms (with Range()).

  4. Nisarg Shah Avatar

    Hello Mr Derek, I just recently found your channel about 2 weeks back and I am just absolutely lost for words at the innumerous number of tutorials you have. Keep up the great work; You are an absolute legend. Seriously, the fluid coding in your tutorials are just amazing. I would like to ask if you could make machine learning/AI tutorials in python after you complete this C++ tutorial. Once again, thanks a ton for these invaluable resources.
    – Nisarg

  5. TypicalHog Avatar

    It should be: if (!encrypt) key = key * -1;

  6. Tudor Andrei Avatar

    Thank you!!!!I have a question:Do you know how to code in every language that you made a tutorial on?at least at a pretty basic level

  7. Masoud Rousta Avatar

    Thanks for the tutorial Derek. I don't know if you have a plan to teach tokens in C++ but I'd be grateful if you could cover this as well. something like typing (5+6)*2-9/2 and by pressing enter the program prioritise the operations based on PEMDAS and give out the correct answer.
    Many thanks again

  8. Charles Kashyap Avatar

    Can we program in raspberry pie?

Leave a Reply

Your email address will not be published. Required fields are marked *