If you mean the way the "for" and "while" loops works in the background it's a bit more complicated because it usually uses direct memory access. what i suggest you do if you really want to learn about them, write a simple program with a loop (either for or while) and use F10 and F11 to do step by step analysis (F10 means go to the next command, F11 means on depth analysis). F10 and F11 are for MS visual Studio, I don't know about other IDEs.
Well, there are many uses of recursive algorithms--and some problems are really best-solved *with* recursion. For example, Fibonacci numbers. But that doesn't mean that you HAVE to use a recursive algorithm, as often you can work around it. However if using recursion makes the code simpler and execute more quickly and efficiently, then I see now reason not to learn and use the technique. To each their own, in that sense.
I am not sure I understand the second part of your question though.
Teaching is the best way to learn difficult concepts, like C++ and programming in general. Your videos are great, for the most part--and are much-appreciated. I agree with the comment that advised you not apologize for taking time to make them. Let me people go elsewhere to find help, if they aren't happy...lol. I find these to be very useful as a brief review of concepts that I've covered years ago.
I also can't wait to see your new videos, given that (I'm sure) your C++ skills have grown!
@Vladorz
If you mean the way the "for" and "while" loops works in the background it's a bit more complicated because it usually uses direct memory access. what i suggest you do if you really want to learn about them, write a simple program with a loop (either for or while) and use F10 and F11 to do step by step analysis (F10 means go to the next command, F11 means on depth analysis). F10 and F11 are for MS visual Studio, I don't know about other IDEs.
searingsaber 1 month ago
Excellent video. Very helpful. I only needed everything up to 4 to remember how it was done. :)
ethalox 1 month ago
so... "for" and "while" are recursive functions?
Vladorz 2 months ago
Well, there are many uses of recursive algorithms--and some problems are really best-solved *with* recursion. For example, Fibonacci numbers. But that doesn't mean that you HAVE to use a recursive algorithm, as often you can work around it. However if using recursion makes the code simpler and execute more quickly and efficiently, then I see now reason not to learn and use the technique. To each their own, in that sense.
I am not sure I understand the second part of your question though.
tcbetka 2 months ago
@tcbetka why use recursion & why does it go in reverse after?
webDes33 2 months ago
Teaching is the best way to learn difficult concepts, like C++ and programming in general. Your videos are great, for the most part--and are much-appreciated. I agree with the comment that advised you not apologize for taking time to make them. Let me people go elsewhere to find help, if they aren't happy...lol. I find these to be very useful as a brief review of concepts that I've covered years ago.
I also can't wait to see your new videos, given that (I'm sure) your C++ skills have grown!
tcbetka 3 months ago in playlist More videos from outofmylaboratory
@lordyarkanlvl80 a series of Unix-based operating systems and graphical user interfaces developed
mrsgen 5 months ago
Its like a for loop inside out or backward
or whatever the hell you may call it
shayanrafizadeh 5 months ago
Thx for the vid. Now try to explain how to make a recursive algorithm that finds an exit in a maze.
shebotnov 7 months ago
is your youtube name a reference to dexters lab?
endauthority 8 months ago