Learn C++ With Me #10 - For Loops

  Рет қаралды 35,464

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 65
@c4g3dB34st
@c4g3dB34st 3 жыл бұрын
The usage of ++i and i++ defer in many situations. If you say cout
@razbijac0086
@razbijac0086 2 жыл бұрын
I never saw anyone use ++i
@MixedByTheScientist
@MixedByTheScientist 5 ай бұрын
Apparently it’s a subtle performance thing. Pretty much irrelevant in in everyday coding but I guess in large scale projects, it’s just enough to make a slight difference? Idk I’m just reiterating what someone told me who works for as a C++ software engineer.
@QuaternionPhysics1
@QuaternionPhysics1 3 жыл бұрын
Love the new office look, and of course the great tutorial! Would love to see this series continue further! :)
@cloudietech5825
@cloudietech5825 3 жыл бұрын
Tim, you’re an inspiration for us tech youtubers!
@Spluub
@Spluub 9 ай бұрын
wasn't enough to keep you going though.
@manuelhorvey-daniels688
@manuelhorvey-daniels688 2 жыл бұрын
You’re one of my greatest inspiration right now , I love the way you explain the code easily.
@softwhere07
@softwhere07 3 жыл бұрын
Thank you for explaining this. I can't wait to hear about the while loop now. Once I find out about that I can probably get started making a number guessing game or whatever. (well as long as I can find out how to spit out random numbers as well. But I could probably figure that out online. )
@Abner2648
@Abner2648 2 жыл бұрын
11/10 subscribed! lol Thank you for the clarity of when to use a for loop over the while loop. ive been through a few different c++ training videos about iteration. But i was having trouble knowing when to use it or even what it was really saying in the syntax. But i get it now courtesy of this video. just clicked! lol So thanks for explaining it in a clear, makes sense, kinda way! appreciate you dude!
@ikecodes
@ikecodes 2 жыл бұрын
Mic is even better, and camera is even better.
@abrarmasumabir3809
@abrarmasumabir3809 3 жыл бұрын
Bro you are awesome...plz take this tutorial to beginner to advance level .. I have believe in you bro.
@vitor.watanabe
@vitor.watanabe 3 жыл бұрын
Thanks for sharing good quality content with us, Tim.
@YarosMallorca
@YarosMallorca 3 жыл бұрын
Very nice setup! I like your videos very much! Also, a question, could you make also a C++ advanced programming tutorial series? Because I already know the basics and want to get into more advanced stuff with C++!
@KamutangaKawina
@KamutangaKawina 5 ай бұрын
keep up the good work tim
@wizard-cs2st
@wizard-cs2st 3 жыл бұрын
just ctrl-shift-b and choose the run option and you'll run it in sublime text by using just ctrl-b after
@spectre382
@spectre382 3 жыл бұрын
Thanks for this
@OmarMohamed-bk8xh
@OmarMohamed-bk8xh 3 жыл бұрын
Hi Tim, When are you going to finsh this series I am really excited to learn C++
@edwardedward7765
@edwardedward7765 3 жыл бұрын
Good evening Tim, this is Edward from H.K
@cybergaming6125
@cybergaming6125 3 жыл бұрын
Waiting for this video for long time thankx
@neontuts5637
@neontuts5637 3 жыл бұрын
Nice video, Well explained loved it.
@TheOGJeff
@TheOGJeff 3 жыл бұрын
thank you so much for these videos
@sawyz6399
@sawyz6399 2 жыл бұрын
do you have a video on what you are using to code and how to set that program up
@tuchaunutuyetminh9104
@tuchaunutuyetminh9104 3 жыл бұрын
thanks Tim
@SamoanFor4everxx23
@SamoanFor4everxx23 Жыл бұрын
Thanks!
@subee128
@subee128 2 жыл бұрын
Thanks
@finnqni8563
@finnqni8563 3 жыл бұрын
Best content ever :)
@mishotsonkov1986
@mishotsonkov1986 4 ай бұрын
very good room
@BMartinsGamingExpo
@BMartinsGamingExpo 3 жыл бұрын
You inspire me to be just like you. I know you might not see this comment but moving forward im taking all your python courses. I think python is really good and i have a strong background in java so im hoping its easy to convert to.
@kaleabalemayehu
@kaleabalemayehu 3 жыл бұрын
please make Learn C With Me Series.
@hasanfares5774
@hasanfares5774 3 жыл бұрын
very much better cam
@aanchalsharma8481
@aanchalsharma8481 3 жыл бұрын
very helpful
@joaomelo6011
@joaomelo6011 3 жыл бұрын
Are you going to do a serie for developing backend with c++ ?
@pegaburn782
@pegaburn782 3 жыл бұрын
backend of what?
@arman8747
@arman8747 3 жыл бұрын
Hey Tim, what Laptop do you use?
@shaloodie
@shaloodie 3 жыл бұрын
He uses a computer
@liriani
@liriani 3 жыл бұрын
Hay Tim can you make a video about using flask together with react?
@codewithraiju1424
@codewithraiju1424 3 жыл бұрын
Hey tim.. Which editor you like? Sublime text or vs code(with sublime theme)
@shawnbeans7389
@shawnbeans7389 3 жыл бұрын
tim, have you ever used kali linux
@RATANAGARWALITINFORMER
@RATANAGARWALITINFORMER 3 жыл бұрын
good for me
@itseasygaming2097
@itseasygaming2097 3 жыл бұрын
you used the the sublime🙄 to run the code rather than from cmd i also want it any help:
@gshsenpai6446
@gshsenpai6446 2 жыл бұрын
Why is this code giving me a error undeclared identifier i? # include # include using namespace std; int main(){ int myArray[5]; for(i=0 ; i < sizeof(myArray)/sizeof(myArray[0]) ; i++){ myArray[i] = i; } for(i=0 ; i < sizeof(myArray)/sizeof(myArray[0]) ; i++){ cout
@yavuzselimkzltas4515
@yavuzselimkzltas4515 2 жыл бұрын
It is a little bit late but the problem is because i is an integer too and you didnt initialized it so program doesnt know what is i to solve the problem you could just do # include # include using namespace std; int main(){ int myArray[5]; int i; for(i=0 ; i < sizeof(myArray)/sizeof(myArray[0]) ; i++){ myArray[i] = i; } for(i=0 ; i < sizeof(myArray)/sizeof(myArray[0]) ; i++){ cout
@niteshprajapat7918
@niteshprajapat7918 3 жыл бұрын
Hey Tim can you develop Competitive programming tutorials with C++ .
@rezarg
@rezarg Жыл бұрын
There's a rumor going around that yandere dev hates this guy
@RealityCheck6969
@RealityCheck6969 Жыл бұрын
We come here for the knowledge, not the rumors.
@edwardedward7765
@edwardedward7765 3 жыл бұрын
what ver. of C++ are u using ?
@pilote111
@pilote111 3 жыл бұрын
They are versions of C++?
@shiehuapiaopiao
@shiehuapiaopiao 3 жыл бұрын
@@pilote111 No. There are only versions of the compilers.
@user-sy3ny1sz2w
@user-sy3ny1sz2w 3 жыл бұрын
Yes, C++ has many versions Including C++98, C++03, C++11, C++14, C++17, and the newer one C++20. Yes compiler also have a version. I think for most compilers including GCC, MSVC, or Clang the default version of C++ is C++14.
@vaibhavrahal9711
@vaibhavrahal9711 3 жыл бұрын
@@user-sy3ny1sz2w Yes, How to upgrade from c++17 to c++20? That'd help me
@user-sy3ny1sz2w
@user-sy3ny1sz2w 3 жыл бұрын
@@vaibhavrahal9711 If you're compiler is either GCC or Clang you can append this command: "-std=c++" For example if you want to use C++20: "g++ -std=c++20 -o test test.cpp" or if you're using Clang: "clang++ -std=c++20 -o test test.cpp" If you're compiler is MSVC you can append this command: "/std:c++" or "/std:c++latest" to get the latest and greatest version of C++. For example: "cl /std:c++20 test.cpp" Note: Don't use quotes or double quotes to the command.
@killershark90
@killershark90 2 ай бұрын
I was curious so I started an endless loop of 3s on purpose, holy crap.... a ryzen 7600x delidded and liquid cooled hit 71c ....
@oPHILOSORAPTORo
@oPHILOSORAPTORo 2 жыл бұрын
So I understand what's happening with i % 2 == 0 but I'm confused why it's "equals zero". Dividing an even number by two doesn't result in zero.
@Abner2648
@Abner2648 2 жыл бұрын
the operator he's using is "%". It still does division but its actual job is to show us the remainder. so 11 divided by 2 is 5 with a remainder of 1. the "%" operator checks for a remainder. I think it's called the modulo operator if you wanted to look it up for yourself or haven't already found the answer. but basically, "i % 2 ==0 is actually checking for a remainder and if there is or isn't one, it's doing something. in this case, it is actually saying, "if i divided by 2 has no remainder, cout this number" Hopefully that makes sense!
@neontuts5637
@neontuts5637 3 жыл бұрын
Cpp for loop similar to JS for loop.
@yourdadsbestfriend7101
@yourdadsbestfriend7101 3 жыл бұрын
loops !
@adsharad5052
@adsharad5052 3 жыл бұрын
Wow
@acearorong6536
@acearorong6536 4 ай бұрын
noice
@TheBeast-qm4de
@TheBeast-qm4de 3 жыл бұрын
Second
@anvithkakkera7196
@anvithkakkera7196 3 жыл бұрын
Wow i am first
@cybergaming6125
@cybergaming6125 3 жыл бұрын
Iam third lol
@vivalavita8738
@vivalavita8738 3 жыл бұрын
You should go to University to TEACH programming.
Learn C++ With Me #11 - While, Do While Loops & Break/Continue
24:01
Learn C++ With Me #18 - Vectors
13:05
Tech With Tim
Рет қаралды 165 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Mastering Python - Everything You Need To Know To Become a Python Master
16:02
C Programming Tutorial 71 - Nested For Loop
5:32
Caleb Curry
Рет қаралды 78 М.
Learn C++ With Me #9 - Arrays
21:35
Tech With Tim
Рет қаралды 110 М.
you will never ask about pointers again after watching this video
8:03
Learn C++ With Me #8 - If, Else & Else If
17:05
Tech With Tim
Рет қаралды 40 М.
Loops in C++ (for loops, while loops)
12:20
The Cherno
Рет қаралды 424 М.
How do computers read code?
12:01
Frame of Essence
Рет қаралды 3,2 МЛН
Learn C++ With Me #20 - Functions
26:14
Tech With Tim
Рет қаралды 62 М.
Learn C++ With Me #12 - Switch Statement
8:02
Tech With Tim
Рет қаралды 22 М.
Introduction to For Loops in Python (Python Tutorial #5)
10:22
CS Dojo
Рет қаралды 1,6 МЛН