C++ FOR BEGINNERS (2025) - Variables, Data Types, Overflow, Sizeof PROGRAMMING TUTORIAL

  Рет қаралды 125,914

CodeBeauty

CodeBeauty

Күн бұрын

Пікірлер
@CodeBeauty
@CodeBeauty 3 жыл бұрын
📚 Learn how to solve problems and build projects with these Free E-Books ⬇️ C++ Lambdas e-book - free download here: bit.ly/freeCppE-Book Entire Object-Pascal step-by-step guide - free download here: bit.ly/FreeObjectPascalEbook 🚀📈💻🔥 My Practical Programming Course: www.codebeautyacademy.com/ Experience the power of practical learning, gain career-ready skills, and start building real applications! This is a step-by-step course designed to take you from beginner to expert in no time! 💰 Here is a coupon to save 10% on your first payment (CODEBEAUTY_YT10). Use it quickly, because it will be available for a limited time.
@TheGato3d
@TheGato3d 4 жыл бұрын
Great analogy, I tried learning C++ from a lot of people and it never clicked as fast as it did it with you. Thank you, keep up the great work. I know it's a lot of work to teach so much appreciate it, Gracias.
@khalidsaeed7
@khalidsaeed7 2 жыл бұрын
Same I couldn’t learn in class but i understand everything she does
@ashah123123
@ashah123123 3 жыл бұрын
You are amazing. I learnt C in 1992 and then rarely used it as my profession was not a programmer. But C was always in my brain. These videos fabulously brought me back in my past. I am learning V. C++ through your lectures.
@gigilemus2542
@gigilemus2542 4 жыл бұрын
Omg you're 👏 amazing!! The way you explain things makes my brain comprehend everything!! I wish we had professors with this dedication and passion to teach, in school is more like teach yourself c++ by reading tons of chapters and then practicing on your own. Sad but true !! Once again thank for taking the time 🙏
@josephgarza5973
@josephgarza5973 3 жыл бұрын
YES! She is amazing, and incredible and awesome and we love her!
@roukayaroukaya5289
@roukayaroukaya5289 3 жыл бұрын
it's true that video is long buuuuuut with u it's sooooooooooo funny and amazing video to learn c++ ur so special
@miketyson5589
@miketyson5589 3 жыл бұрын
33:51 : It will cause a data overflow which you mentioned! because it's exceeding the data limit an integer data value can store. Perfect example: Over filling of water when poured in a glass.
@paulb6338
@paulb6338 4 жыл бұрын
Confused as to why this channel does not have more subscribers, content is good and there are not all that many c++ tutorials on youtube. Keep up the good work.
@CodeBeauty
@CodeBeauty 4 жыл бұрын
🥰
@fadi0802
@fadi0802 4 жыл бұрын
Very UNDERSTANDABLE, EXCELLENT!
@howardfoot4655
@howardfoot4655 Ай бұрын
I like the steady measured pace of these tutorials so it is easy to follow along!
@hypercloud9689
@hypercloud9689 3 жыл бұрын
Your explanations are so clear and easy to follow and have such good reasoning. Your videos are also very well planned out and show what syntaxes and variables mean rather than just how to program them, great tutorial! Keep up the good work! Thankssss :))
@herrdingenz6295
@herrdingenz6295 4 жыл бұрын
34:36 you could have mentioned that that happens because by adding 1 to the max value we changed the status of the highest bit in that integer from 0 to 1 and therefor switched its sign to -
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Correct 😊
@tl4072
@tl4072 4 жыл бұрын
I just started learning C++ and your videos are very useful. Keep it up!
@knottyhangman
@knottyhangman 4 жыл бұрын
Your positivity is infectious. I really appreciate everything that you do.You inspire me to be a better person.Thank You So Much Mam.......................
@CodeBeauty
@CodeBeauty 4 жыл бұрын
🥰
@ahyungrocks5509
@ahyungrocks5509 3 жыл бұрын
Great refresh material after over 20 years. Thank you.
@mikekennedy7999
@mikekennedy7999 2 жыл бұрын
Great method of teaching appreciated - I am an old man ; learning new concepts and I understand - great job Thanks Mike
@sergio_sciuto_conti
@sergio_sciuto_conti 3 жыл бұрын
in the table at 32:41 there's an error: "unsigned short " and "signed short" data types size is not 1 byte, but 2 bytes
@BeatTorrent5
@BeatTorrent5 4 жыл бұрын
> Clear explanations > Goes into detail for even the smallest informations > Looks good while doing it Okay okay I'm subscribing. Keep up the good work, you're doing a perfect job
@CodeBeauty
@CodeBeauty 4 жыл бұрын
I'm so happy to help 🤗🥰
@heberhart61
@heberhart61 4 жыл бұрын
Very new to programming and learning to implement coding to a PLC platform. Your video's have been extremely informative and helpful. I do like the straight forward, no nonsense approach you take and plan to continue using your video's to develop this skill, Thanks!! Great Job!!
@CodeBeauty
@CodeBeauty 4 жыл бұрын
🥰🤗
@teicneo4688
@teicneo4688 3 жыл бұрын
You make learning code SOOO much easier. Thank you for breaking down the basics for me/us!
@lifunalifunaj9274
@lifunalifunaj9274 4 жыл бұрын
Thank you . The explanation was so clear and straight forward.
@maulanaajiw6184
@maulanaajiw6184 3 жыл бұрын
Whats the different if i use cout
@nidemlez
@nidemlez Жыл бұрын
Thanks!
@CodeBeauty
@CodeBeauty Жыл бұрын
Thank you! Hvala puno 🥰
@redMaple_QC
@redMaple_QC 3 жыл бұрын
Great video. Great teacher. Clear and concise.
@nerdlo9917
@nerdlo9917 4 жыл бұрын
decided to learn c++ as a hobby and your videos have been really helpful thank you!
@mech-tech4779
@mech-tech4779 4 жыл бұрын
this videos are fantastic, very clear and very simple classes. keep up the good work.
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Thank you so much, and welcome! 🤗
@gabrielrivera4259
@gabrielrivera4259 Жыл бұрын
Im supplementing learncpp with videos and this video helped clarify and make overflow make sense, thank you!
@metridokumu1422
@metridokumu1422 4 жыл бұрын
This is so helpful.Thank you....Learning C++ for the first time.Wish me luck.
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Good luck! 😊
@jonathanjoe98
@jonathanjoe98 3 жыл бұрын
wow. i am blown away. You are the best
@danieljohncanedacatudio5072
@danieljohncanedacatudio5072 3 жыл бұрын
I just want to add that there are compilers that don't run without #include in the header when you are going to use a data type of string or char.
@mohabad2730
@mohabad2730 3 жыл бұрын
For the question around 8 minutes, I think you'll get an error? For the question around the mark 29:33, I think it'll be the same value, but positive? For the question around the mark 33:46, I think the answer will give the previous large number plus 1 (for example intMax is only actually 100, the output will be 100+1?). I got most wrong, but at least I'm learning, thanks for this lesson!
@hamdyaljafarawy1942
@hamdyaljafarawy1942 3 жыл бұрын
I started learning C++ recently and after watching this tutorial a question came to my mind which is why do we need to know the size of the memory and the max and min value of each variable ?
@jakedrake1054
@jakedrake1054 4 жыл бұрын
Thank you for all the help, I seriously am trying to learn c++ even if it takes months, I have plans on creating a mod menu for a game, I just need to learn as much as I can. I’m fine with taking months to do this
@rlyriccluster198
@rlyriccluster198 3 жыл бұрын
Learning coding in Africa(kenya)..love this
@The_Andrah
@The_Andrah 4 жыл бұрын
Thank you Saldina! This video was excellent
@srgaming9250
@srgaming9250 3 жыл бұрын
Thanks mam...😍😍 this video is really helpful for me.❤❤
@koko-mt7zr
@koko-mt7zr 3 жыл бұрын
32:44 signed char => -128 to 127
@chriscoder6775
@chriscoder6775 3 жыл бұрын
Thanks for the well-explained concepts! Great tutoring!
@CodeBeauty
@CodeBeauty 3 жыл бұрын
🤗🥰🥰
@heberhart61
@heberhart61 4 жыл бұрын
Can you add, for example this program you're teaching to open in a windows app.? Perhaps a Window App would have to be made than use this code in that application. Your tutorials have been very helpful in developing foundational skills. I hope this question makes sense, and perhaps this would be something outside of the scope of your tutorials or maybe something you may be willing to do in future tutorials, which leads me to ask if you have plans to conduct future tutorials. I tried to search through MS help but really didn't find an answer. Many thanks!!
@maytezhou2585
@maytezhou2585 4 жыл бұрын
You're videos are really amazing. Thank you so much for sharing your knowledge and experiencie with us.You're so inspiring. I've recently started learing C++ . I was a little scared but you have made it so easy. Can't thank you enough ! PSDT: By the way I'm Peruvian, and your spanish is so good.
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Thank you Mayte! 🥰🇵🇪
@sebastiankg1302
@sebastiankg1302 4 жыл бұрын
Thank your dear Saldina, for your wonderful class
@CodeBeauty
@CodeBeauty 4 жыл бұрын
😊🤗
@elainehowell8171
@elainehowell8171 3 жыл бұрын
I'm just learning c++ and I'm learning a lot from you but sometimes I get different results and I have checked the program thoroughly several times and I also, I had someone else check it. It has to be set up in a virtual studio because we're using the same IDE can you do a video on setting it up. Thanks, like all your videos looking forward to a video on setting up your IDE.
@MJLangdon175
@MJLangdon175 3 жыл бұрын
With the float variable, don’t you have to append an ‘f’ to the end of the number otherwise the compiler will default it to double? Also shouldn’t a double be used for money because of the number of units after the decimal point makes it more accurate? Thanks for the videos. They are very clear and easy to follow.
@kohinoorkohi5580
@kohinoorkohi5580 3 жыл бұрын
I missed my starting of lessons in school , but thanks to you , I covered that all 🥳🥳🥳🥳 live long you pretty teacher
@csjoy4682
@csjoy4682 4 жыл бұрын
Very Well Explanation. Hope All Beginner Understand Easily (Same As Me 😃 I'm always waiting for the next vide>next video >next..... Thank You So Much
@Ilyaselho
@Ilyaselho 3 жыл бұрын
Amazing , thank you so much .I can't thank you enough.
@carlospena8967
@carlospena8967 4 жыл бұрын
Thanks a lot for this videos! you have helped me so much to understand how it works instead of just copy pasting. -Sorry for bad english.
@CodeBeauty
@CodeBeauty 4 жыл бұрын
🥰🤗
@kylehill3643
@kylehill3643 4 жыл бұрын
@@CodeBeauty 😲
@ssekajjamark8041
@ssekajjamark8041 3 жыл бұрын
nice explanation
@tonyhekopiano5892
@tonyhekopiano5892 2 жыл бұрын
Nice explanation. Makes sense.
@monoman4083
@monoman4083 4 жыл бұрын
I understood all; you make good content. Thanks...
@ashwinanil4662
@ashwinanil4662 2 жыл бұрын
I love your videos they follow my class curriculum. I am currently programming with x code so there are slight diffferences but overall it is great thank you
@philliphamer9148
@philliphamer9148 2 жыл бұрын
This is my first time and omg 😲 your heavenly thank you 😊 🙏 💖
@statracing1
@statracing1 Жыл бұрын
Once again this makes sense, YAY!!!
@leonleon123456
@leonleon123456 3 жыл бұрын
Wow i really appriciate your videos about c++, it's easy to me listen to a really pretty girl and talking about my favourite code lenguage.
@McconneIIRet
@McconneIIRet 3 жыл бұрын
Another great video. When I become a big shot, I'll make sure to give credit to who helped me start off.
@freddyjosemoleroramirez402
@freddyjosemoleroramirez402 3 жыл бұрын
This video was great. It was easy to learn how to use variables. Thanks to you, I could make a small program where you can compute the rule of three given the values a,b,c
@govindgholap6969
@govindgholap6969 4 жыл бұрын
Thanks to maid it me educated and busy. Love from india keep it up and also I has already late because I saw this teacher thanks
@CodeBeauty
@CodeBeauty 4 жыл бұрын
🤗😊
@IAmIshanSaxena
@IAmIshanSaxena 4 жыл бұрын
hey you just created my interest in C++ thank you miss Saldina
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Hey hey, welcome! 🤗
@VexoLynx
@VexoLynx 2 жыл бұрын
thank you for the break downs and examples
@josephgarza5973
@josephgarza5973 3 жыл бұрын
You are beautiful inside and out! Thank you so much. Thanks again. Can hardly wait to see your next tutorials.
@CodeBeauty
@CodeBeauty 3 жыл бұрын
🙏🤗🥰
@astudent797
@astudent797 3 жыл бұрын
Your superb teacher may god bless you for your efforts of explaining it so brilliantly!.
@chrispowell8121
@chrispowell8121 4 жыл бұрын
8:02 I assume you'll get some kind of error message as annualSalary hasn't been defined?
@kylehill3643
@kylehill3643 4 жыл бұрын
A non defined message?
@generaltechnologyknowledge5165
@generaltechnologyknowledge5165 Жыл бұрын
Good explanation sister. Thanks you so much for your tutorials.
@ksenonscentral1187
@ksenonscentral1187 4 жыл бұрын
Svaka cast,samo nastavi imas odlicne primere!
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Hvala puno, drago mi je da su primjeri jednostavni za shvatiti! :D
@jianhe
@jianhe 2 жыл бұрын
great tutorial. thank you. especially datatype overflow.
@bmeghani88
@bmeghani88 4 жыл бұрын
You have adorable glasses ;). Also I love the fact you're using a proper editor Visual Studio and not Code Blocks.
@ruswinraja9761
@ruswinraja9761 3 жыл бұрын
Why should we not use CodeBlocks ??
@nedtraynor4099
@nedtraynor4099 4 жыл бұрын
Super, samo nastavi... Nadam se da ces poslije C++ tutorijala odraditi i za C
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Hvala puno na podršci, biće sigurno dosta korisnih videa za programiranje. Htjela sam raditi na nasem jeziku, ali mislim da ovako dosta više ljudi može iskoristiti tutorijale, a i ko god se planira baviti progrmairanjem, moraće svakako koristiti engleski u velikoj mjeri. :D
@h3rt0k4w4ng
@h3rt0k4w4ng 3 жыл бұрын
superrr great explanation. can not thank you enough for making this video. GBU
@muhammadmont6515
@muhammadmont6515 3 жыл бұрын
Thanks for your video , but what workload should i install , need video contains download and install
@AhmedMohamed-wm5zk
@AhmedMohamed-wm5zk 2 жыл бұрын
Thank you madam for such amazing work
@kelvinwilliams2908
@kelvinwilliams2908 4 жыл бұрын
Should you Save the code after making changes before running?
@CodeBeauty
@CodeBeauty 4 жыл бұрын
You can, but if you are using Visual Studio, you don't have to, because your changes are going to be automatically saved when you run your program. :D
@grayfoxtrots
@grayfoxtrots 3 жыл бұрын
Finishing listening and watching the second video. I do catch other tutorials but needing to catch up on email subscriptions.
@suleymankocamaz3743
@suleymankocamaz3743 3 жыл бұрын
when ı learned that you are from bosnian ı dont know why but ı liked it because my ideol is aliya izzetbegovic.
@haroo5738
@haroo5738 3 жыл бұрын
33:34 im guessing it will go to its lowest number as it is already at its max, or cause an error
@irvinsalazar4581
@irvinsalazar4581 4 жыл бұрын
Very helpful. Thank you. I'm planning to watch all your tutorial.
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Welcome! 🤗 Good luck with learning!
@abdullahkhan-g1j1m
@abdullahkhan-g1j1m Жыл бұрын
which compiler you used to write programs.... or which compiler is the best for c language ...
@helinaras8664
@helinaras8664 3 жыл бұрын
very good i loved it thank you very much love uuu
@CodeBeauty
@CodeBeauty 3 жыл бұрын
🤗🥰🥰
@solito2938
@solito2938 3 жыл бұрын
grandioso curso para principiantes
@luish6652
@luish6652 3 жыл бұрын
Excellent videos, just a question. How can I use the local windows debugger?
@jamshidtavana1
@jamshidtavana1 2 жыл бұрын
Thank you very much for very nice explanation, But I think you have an issue in the Table of variable. "Unsigned short int" and also "signed short int" data types size are 2 bytes and not 1.
@nadeemraza4519
@nadeemraza4519 2 жыл бұрын
Hats off to you mam, you are genius i really love the way you make things so easy and understandable
@yawsokpor3061
@yawsokpor3061 Жыл бұрын
Hi Saldina many thanks for most of your videos I have downloaded the Visual Studio and when I am writing in my project ,most of the words have red lines under the word which shows that there is are some errors, please I need help so that I be writing any time that I follow your teachings and explanations.
@akshaygamez4129
@akshaygamez4129 3 жыл бұрын
i can use dev c++ as an IDE?
@natty5935
@natty5935 4 жыл бұрын
Thank you. You make me more understand about C++.
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Natty welcome! 🤗 I like to share the knowledge, and I learn about the best ways to tho that along the way.
@jerseychou4323
@jerseychou4323 Жыл бұрын
Thanks a lot.Great video.
@DonaldMukeba
@DonaldMukeba 6 ай бұрын
where you are using float can i use double?
@leonardtangty
@leonardtangty 3 жыл бұрын
It will be nice if you can have a video on the different OS.Programming on Linux,Windows and Mac OS? Meaning...what are the pros and cons in the OS?
@aryanyadav6263
@aryanyadav6263 3 жыл бұрын
After downloading visual studio which workload did you choose for c++ ( Mobile development c++ or desktop development c++)
@FauziyaSuleimanzumo
@FauziyaSuleimanzumo 5 ай бұрын
But can we use the variable float in c## since double is the bigger memory decimal value of float?
@alvintey6432
@alvintey6432 3 жыл бұрын
Can we store string variable from user input ?
@flow18111
@flow18111 3 жыл бұрын
I don´t understand what is int min/max value is for or what it tells you. Could someone help me with that?
@kylehill3643
@kylehill3643 4 жыл бұрын
How come when mine looks like that it says 7 errors where one of them is system is a namespace but used like a variable?
@CodeBeauty
@CodeBeauty 4 жыл бұрын
There is probably some small difference that is not that easy to spot. If you paste your code, I might be able to help you ☺️
@Vscap33
@Vscap33 4 жыл бұрын
if we use int main() and not void main() we dont need return 0; at the end of the code?
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Without getting into much detail, you should know that both int and void are return types of a function, and in the case of main() indicate the type of value that your main function is going to return to the operating system. void main() indicates that main is not going to return anything, and int main() indicates that it is going to return an integer value. In an ideal case scenario, both should work, but in a situation where your code has some error, you can get into problems if you are using void main(), so it is recommended to use int main(). As I said, int main() means that main() is going to return an integer, so in the earlier versions you had to write return 0; at the end of main() However, depending on your version of C++, the compiler won't see it as a mistake if you omit return 0; (it will be a default if there is no explicit return) What I would recommend if you are interested in understanding functions, because they are used very often, is to check out my C++ functions playlist. 😊
@Vscap33
@Vscap33 4 жыл бұрын
@@CodeBeauty ahh i see thank you so much for the explanation!
@akindomugisha4644
@akindomugisha4644 3 жыл бұрын
What does the 'system("pause>0")' do
@CodeBeauty
@CodeBeauty 3 жыл бұрын
Here is a video about that 😃😃 kzbin.info/www/bejne/jJSvfn97rJmmpJo
@johnwellard3690
@johnwellard3690 4 жыл бұрын
Hi Saldina - Such brilliant videos. Please keep them coming. I decided to be pro-active and extend the program illustrated in this segment and got the results that I have included below. When I compared them with the values in the illustrative table I found a couple of differences in the values quoted for “char min value” and “double min value”. To do this I used the expressions;- SCHAR_MAX SCHAR_MIN numeric_limits::max() numeric_limits::min() I am new to programing and C++ so am I correct in the values that I have obtained? char max value is 127 char min value is -128 Double max value is 1.79769e+308 Double min value is 2.22507e-308
@FiolarinKanmi
@FiolarinKanmi Жыл бұрын
Please how did you get that output on that command prompt type page visual studio doesn't do that for me
@runner0075
@runner0075 3 жыл бұрын
Hello, will you mae some beginners intro to Ecplipse? actually I am forced to use this IDE, but totally lost
@QuantswithAnjali
@QuantswithAnjali 4 жыл бұрын
can you please share the video of how to download and setup visual studio @CodeBeauty
@CodeBeauty
@CodeBeauty 4 жыл бұрын
Hi, I have made that part in the video that I did for the Traversy Media channel. It is this video here: kzbin.info/www/bejne/Z6fCZZeCbdFrprM In the description you have this timestamp 04:34 - Installing Visual Studio 2019 Community
@QuantswithAnjali
@QuantswithAnjali 4 жыл бұрын
@@CodeBeauty is it mandatory to create new project always and then code there can't we make a single project and add multiple c++ files ? Bcoz i have seen in ur video u have make every code on different project .i tried to make single project and add cpp file and it's shows me error can you help me in this.
@Nigeria_Revival
@Nigeria_Revival 3 жыл бұрын
Hello Sabina. Please, what version of Visual Studio supports onitemclick event for c++? I couldn't find the event on my visual studio. Thanks.
@johshoouhttv
@johshoouhttv 3 жыл бұрын
Uhm I think it will say something about the variable being undefined at 8:04
@sameersingh2927
@sameersingh2927 4 жыл бұрын
Madame can you please cover topic named USER DEFINED DERIVED DATA TYPE S..... NAMELY CLASS, STRUCTURE , UNION..... thank you....
ENUMS in every programming language (All you need to know)
24:38
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Variables & Data Types - C++ Tutorial For Beginners #4
24:43
NeuralNine
Рет қаралды 13 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 839 М.
Object Oriented Programming (OOP) in C++ Course
1:30:26
freeCodeCamp.org
Рет қаралды 2,6 МЛН
Master Pointers in C:  10X Your C Coding!
14:12
Dave's Garage
Рет қаралды 334 М.
why do void* pointers even exist?
8:17
Low Level
Рет қаралды 395 М.
How to Learn to Code FAST (Do This or Keep Struggling)
11:00
Andy Sterkowitz
Рет қаралды 720 М.
Learn C++ With Me #3 - Data Types and Variables
19:57
Tech With Tim
Рет қаралды 50 М.