The usage of ++i and i++ defer in many situations. If you say cout
@razbijac00862 жыл бұрын
I never saw anyone use ++i
@MixedByTheScientist5 ай бұрын
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.
@QuaternionPhysics13 жыл бұрын
Love the new office look, and of course the great tutorial! Would love to see this series continue further! :)
@cloudietech58253 жыл бұрын
Tim, you’re an inspiration for us tech youtubers!
@Spluub9 ай бұрын
wasn't enough to keep you going though.
@manuelhorvey-daniels6882 жыл бұрын
You’re one of my greatest inspiration right now , I love the way you explain the code easily.
@softwhere073 жыл бұрын
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. )
@Abner26482 жыл бұрын
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!
@ikecodes2 жыл бұрын
Mic is even better, and camera is even better.
@abrarmasumabir38093 жыл бұрын
Bro you are awesome...plz take this tutorial to beginner to advance level .. I have believe in you bro.
@vitor.watanabe3 жыл бұрын
Thanks for sharing good quality content with us, Tim.
@YarosMallorca3 жыл бұрын
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++!
@KamutangaKawina5 ай бұрын
keep up the good work tim
@wizard-cs2st3 жыл бұрын
just ctrl-shift-b and choose the run option and you'll run it in sublime text by using just ctrl-b after
@spectre3823 жыл бұрын
Thanks for this
@OmarMohamed-bk8xh3 жыл бұрын
Hi Tim, When are you going to finsh this series I am really excited to learn C++
@edwardedward77653 жыл бұрын
Good evening Tim, this is Edward from H.K
@cybergaming61253 жыл бұрын
Waiting for this video for long time thankx
@neontuts56373 жыл бұрын
Nice video, Well explained loved it.
@TheOGJeff3 жыл бұрын
thank you so much for these videos
@sawyz63992 жыл бұрын
do you have a video on what you are using to code and how to set that program up
@tuchaunutuyetminh91043 жыл бұрын
thanks Tim
@SamoanFor4everxx23 Жыл бұрын
Thanks!
@subee1282 жыл бұрын
Thanks
@finnqni85633 жыл бұрын
Best content ever :)
@mishotsonkov19864 ай бұрын
very good room
@BMartinsGamingExpo3 жыл бұрын
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.
@kaleabalemayehu3 жыл бұрын
please make Learn C With Me Series.
@hasanfares57743 жыл бұрын
very much better cam
@aanchalsharma84813 жыл бұрын
very helpful
@joaomelo60113 жыл бұрын
Are you going to do a serie for developing backend with c++ ?
@pegaburn7823 жыл бұрын
backend of what?
@arman87473 жыл бұрын
Hey Tim, what Laptop do you use?
@shaloodie3 жыл бұрын
He uses a computer
@liriani3 жыл бұрын
Hay Tim can you make a video about using flask together with react?
@codewithraiju14243 жыл бұрын
Hey tim.. Which editor you like? Sublime text or vs code(with sublime theme)
@shawnbeans73893 жыл бұрын
tim, have you ever used kali linux
@RATANAGARWALITINFORMER3 жыл бұрын
good for me
@itseasygaming20973 жыл бұрын
you used the the sublime🙄 to run the code rather than from cmd i also want it any help:
@gshsenpai64462 жыл бұрын
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
@yavuzselimkzltas45152 жыл бұрын
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
@niteshprajapat79183 жыл бұрын
Hey Tim can you develop Competitive programming tutorials with C++ .
@rezarg Жыл бұрын
There's a rumor going around that yandere dev hates this guy
@RealityCheck6969 Жыл бұрын
We come here for the knowledge, not the rumors.
@edwardedward77653 жыл бұрын
what ver. of C++ are u using ?
@pilote1113 жыл бұрын
They are versions of C++?
@shiehuapiaopiao3 жыл бұрын
@@pilote111 No. There are only versions of the compilers.
@user-sy3ny1sz2w3 жыл бұрын
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.
@vaibhavrahal97113 жыл бұрын
@@user-sy3ny1sz2w Yes, How to upgrade from c++17 to c++20? That'd help me
@user-sy3ny1sz2w3 жыл бұрын
@@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.
@killershark902 ай бұрын
I was curious so I started an endless loop of 3s on purpose, holy crap.... a ryzen 7600x delidded and liquid cooled hit 71c ....
@oPHILOSORAPTORo2 жыл бұрын
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.
@Abner26482 жыл бұрын
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!