Learn C++ With Me #3 - Data Types and Variables

  Рет қаралды 50,685

Tech With Tim

Tech With Tim

Күн бұрын

Пікірлер: 81
@jennann87
@jennann87 3 жыл бұрын
I appreciate the over explanation. It's actually super helpful. Thanks!
@alangodoy9591
@alangodoy9591 3 жыл бұрын
you are the best in this century!
@maximilianschmidt8167
@maximilianschmidt8167 3 жыл бұрын
It may be only on linux, but i dont have to include string to use them as a variable. Love this series, thank you Tim!
@devnull0368
@devnull0368 3 жыл бұрын
Yea, I was wondering why that was. Nice to know it wasn't a thing only with my system lol
@bechararizk7245
@bechararizk7245 3 жыл бұрын
same (on macos)
@poonikarthu4988
@poonikarthu4988 2 жыл бұрын
its because you had probably included
@poonikarthu4988
@poonikarthu4988 2 жыл бұрын
and in iostream string was imported
@jodmatthewaclan5869
@jodmatthewaclan5869 3 жыл бұрын
Love your quick uploads dude. Hope to learn more about c++ with you
@bennetramasedi8738
@bennetramasedi8738 3 жыл бұрын
I love the channel man... Great stuff you're a motivation
@soundstothecore3714
@soundstothecore3714 Жыл бұрын
You must be a good teacher because even I'm now starting to understand this. Good job!
@vishvalorant
@vishvalorant 2 жыл бұрын
easily made my top 5 favorite channels great content, keep posting , its really helpful
@karjun4644
@karjun4644 3 жыл бұрын
Thank you Tim!
@blackpeppercinnamon3244
@blackpeppercinnamon3244 3 жыл бұрын
So excited about this series 👏👏✊🙌🙌
@jwtham2765
@jwtham2765 3 жыл бұрын
Very detailed and clear explanation. Makes learning c++ so much easier and so much more fun. Thank you Tim!
@sandil1232
@sandil1232 3 жыл бұрын
I was looking exactly for this .... Thank you so much
@rc705
@rc705 3 жыл бұрын
Doing this and open cv from your channel. Great stuff
@PrinceSingh-qt5bv
@PrinceSingh-qt5bv 3 жыл бұрын
Now i can learn programming just because of you.
@arjix8738
@arjix8738 3 жыл бұрын
05:19 A string with zero length is actually considered as an empty char array...
@HiPh0Plover1
@HiPh0Plover1 3 жыл бұрын
tim if you can continue this series until we get to the fun stuff like a coding project decent enough in size so everyone would learn to actually code
@nerdydrew6818
@nerdydrew6818 3 жыл бұрын
Technically a char can and is a single byte integer type. a bool is 0 and anything other than 0, not necessarily 1, bool is also technically an integer type
@pimpwiththis8885
@pimpwiththis8885 3 жыл бұрын
I love your videos brother...
@subee128
@subee128 2 жыл бұрын
Thank you very much
@Emily-in6ws
@Emily-in6ws 3 жыл бұрын
Amazing!
@WeAreBlank18
@WeAreBlank18 3 жыл бұрын
Can someone please help me? My input/output standard library ‘’ isn’t being recognised due to a missing header. The header that is missing is called ‘crtdbg.h’. That’s all I know. I have no idea on how to add it in. It’s been like this from the moment of installation of C++ on my visual studio code, with and without my compiler ‘g++’, [I already added the compiler to my environment variable pathway, so my programs run, but my visual studio code is giving me this notification of ‘crtdbg.h’ being missing].
@dylanwilson9812
@dylanwilson9812 3 жыл бұрын
Awesome vid!
@zeroanims4113
@zeroanims4113 3 жыл бұрын
hi just a suggestion please teach the STL and iterators and making our own version of STL
@Emily-in6ws
@Emily-in6ws 3 жыл бұрын
Tim! Is a terminator the little dot between the two arterisk? *•*
@mattmo8648
@mattmo8648 2 жыл бұрын
Is 0.0 a float? assuming you want the ability to use a decimal value to manipulate it later
@Raleford
@Raleford 3 жыл бұрын
For x = y does it copy.the value of y at assignment, or does it use the value of y at the time of usage (eg "cout
@neelanjanmukherji
@neelanjanmukherji 3 жыл бұрын
I like the series. But you forgot about long, short, unsigned, double and long long. Which are the sub-types of the main data type.
@TechWithTim
@TechWithTim 3 жыл бұрын
Will cover those later!
@neelanjanmukherji
@neelanjanmukherji 3 жыл бұрын
@@TechWithTim sure thing!
@keikuso8675
@keikuso8675 3 жыл бұрын
6:03 Is "s" really a string? I learned that a string is defined by multiple chars (characters). I have never heard that it depends on the quotation marks " " or ' '
@yxlxfxf
@yxlxfxf 3 жыл бұрын
there are about 20 ways to delcare an int in c++ :))
@softwhere07
@softwhere07 3 жыл бұрын
You know. I might just put this stuff in front of my python learning. I am seeing a lot of similarities. And maybe in learning this stuff it might help me learn python better as well. I will be some excited when I can make a guess the number game with c++ just like I did with python.
@rubencid2575
@rubencid2575 3 жыл бұрын
One question; when you assigned x = y; did it created a copy of the value or it is treated as a reference to y?
@satvikreddy8662
@satvikreddy8662 3 жыл бұрын
it creates a copy.
@chinjoka7418
@chinjoka7418 3 жыл бұрын
creates a copy of the value. if you need to reference it you can use pointers(adress of the variable)
@yxlxfxf
@yxlxfxf 3 жыл бұрын
you can also use the built-in reference type like this: int y = 1; int &x = y; now x will be the same as y, modifying x will modify y, modifying y will modify x.
@parth2teja
@parth2teja 3 жыл бұрын
please create a full kivy tutorial like you did pygame in 90 minutes. (the setup of kivy has changed from last video) build a to do to list with kivy. Thanks
@shamblonaut
@shamblonaut 3 жыл бұрын
Hey, Tim! I have started a KZbin channel. I know a little bit of coding. What are your tips on making coding videos?
@solomonleo3025
@solomonleo3025 3 жыл бұрын
consistency and please be not boring
@shamblonaut
@shamblonaut 3 жыл бұрын
@Andrew Edmonds Will visual explanation(like animation) work?
@binaprajapati7709
@binaprajapati7709 3 жыл бұрын
make videos which you would want to watch
@aavishkarlotale8925
@aavishkarlotale8925 2 жыл бұрын
can main not have int and have other data types
@-C3S1UM-
@-C3S1UM- 2 жыл бұрын
Hey, did you know you can run the program right on Sublime without going to the Comman prompt?
@romirmehrotra
@romirmehrotra 2 жыл бұрын
how do u change a variable data type? is it possible?
@ayliniemi
@ayliniemi Жыл бұрын
C sharp lol guess we are in for a music lesson too 😂
@Raleford
@Raleford 3 жыл бұрын
Assembly for the next series?
@devnull0368
@devnull0368 3 жыл бұрын
And then machine language for the finale lol
@Sility
@Sility 3 жыл бұрын
I have a question how come you could print the "Hello World" message in the last video without including the string library even tho "Hello World" is a string?
@standingpad
@standingpad 3 жыл бұрын
He printed "Hello World" using cout like: cout
@musiclife5551
@musiclife5551 3 жыл бұрын
@@standingpad Yeah string is a class as I know so you need to include it to be able create instances of that. Also "Hello World" technically is const char * and not string.
@-C3S1UM-
@-C3S1UM- 2 жыл бұрын
2:40 suddenly became a math tutorial xd
@sypherus.luxiferr5042
@sypherus.luxiferr5042 3 жыл бұрын
Would you mind doing a tutorial on the Windows C++ API with their data types? Like DWORD, uint32_t and stuff like that?
@VictorPerez-od7zh
@VictorPerez-od7zh 3 жыл бұрын
Wait it gives you an error if you don't have the string library? This never happened to me. Also did you forget about double?
@tcgvsocg1458
@tcgvsocg1458 3 жыл бұрын
I try to learn python and pygame but its a tech with tim video sooooo its like heuuuuu heuuuuu make ahhhhhhhh make like on this heuuuuuuu video Tim can you make a game like street fighter or street of rage just to see the different animation on a character and first level full
@salemouail627
@salemouail627 3 жыл бұрын
7:03 comments
@BenjaminAsare-x7i
@BenjaminAsare-x7i Жыл бұрын
4:13
@abrarmasumabir3809
@abrarmasumabir3809 3 жыл бұрын
my python bro....
@cambridgebreaths3581
@cambridgebreaths3581 3 жыл бұрын
Tim++
@ahmedthegreat3973
@ahmedthegreat3973 3 жыл бұрын
11th comment
@Владиславчик-ф4в
@Владиславчик-ф4в Ай бұрын
Привет брат единого разума ) В будущем будем сотрудничать ? )
@benair4736
@benair4736 3 жыл бұрын
TIM the C++Lown
@varadpawar4241
@varadpawar4241 3 жыл бұрын
2nd
@natyacodes
@natyacodes 3 жыл бұрын
Tim Will Pin This
@jimhalpert9803
@jimhalpert9803 3 жыл бұрын
F
@s_e_t_z3248
@s_e_t_z3248 2 жыл бұрын
LLLL
@Keeve4454
@Keeve4454 Жыл бұрын
x = 100000000000000000
@User-qc7gn
@User-qc7gn 3 жыл бұрын
you are doing more videos so you get more views 👎(more money)
@leonardsmith9870
@leonardsmith9870 3 жыл бұрын
So I guess we're just going to stop doing the OpenCV tutorials because you finished going through the tutorials on their site and you did it for easy content and don't actually know how to do it yourself? Typical.
@TechWithTim
@TechWithTim 3 жыл бұрын
Would you mind providing an example of what it is you believe I don’t actually know how to do? Did I explain something inaccurately? Or is it now the case that If I don’t make a video on something that means I don’t know it? Btw I can understand your reasoning but opencv has literally 100’s of tutorials, I could do a year of opencv tutorials without ever deviating from the official tutorial... Would love to be able to make a positive change after reading your feedback but seems as though you may just be having a bad day, not really wanting to provide anything constructive. Let me know if you have anything constrictive, would love to listen :)
@leonardsmith9870
@leonardsmith9870 3 жыл бұрын
@@TechWithTim Just because you're copying code off of the site and putting it into video form doesn't mean you know what you're doing. In one of the videos, you didn't even know what the values for the input were and even said "I have no idea what this means." Anybody can look at the official guides and do them, and just like the 100s of other tutorials your stops at the exact same spot. There are dozens of people requesting for you to continue it, and the fact that you aren't suggests you don't actually know what you're doing.
@TechWithTim
@TechWithTim 3 жыл бұрын
@@leonardsmith9870 fair point. Maybe I will continue it!
@OutlawJackC
@OutlawJackC 3 жыл бұрын
He did point out at the start that he is also new to learning c++ , and he is making videos to teach others to prove to himself that he understands what he is learning.
@leonardsmith9870
@leonardsmith9870 3 жыл бұрын
@@OutlawJackC Congrats on kindergarten level reading comprehension. This isn't about his c++ knowledge.
Learn C++ With Me #4 - User Input and Constants
23:35
Tech With Tim
Рет қаралды 42 М.
Learn C++ With Me #9 - Arrays
21:35
Tech With Tim
Рет қаралды 104 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,6 МЛН
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 1,1 МЛН
I Redesigned the ENTIRE YouTube UI from Scratch
19:10
Juxtopposed
Рет қаралды 873 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 770 М.
Learn C++ With Me #20 - Functions
26:14
Tech With Tim
Рет қаралды 58 М.
Mastering Python - Everything You Need To Know To Become a Python Master
16:02
Variables & Data Types - C++ Tutorial For Beginners #4
24:43
NeuralNine
Рет қаралды 13 М.
Python laid waste to my C++!
17:18
Sheafification of G
Рет қаралды 170 М.
Learn C++ With Me #18 - Vectors
13:05
Tech With Tim
Рет қаралды 162 М.
you will never ask about pointers again after watching this video
8:03