📚 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.
I think the reason you are such a good teacher is you go over everything very meticulously. A lot of teachers skip small things because it is second nature to them and they think they're "obvious", when, as a student, they really aren't. The small details are so important (especially with something as complex as a programming language) and I'm glad you go over them. Excellent work.
Very clear and easy to understand, not like my previous instructors about programming😂😂. I gave up and shifted to Criminology course and graduated. Need more teachers like you ma'am. God bless and thank you for sharing your knowledge to us.
I hope you still check this to see if I got it all correct. From the time (25:13) Here is my answer: For line 10: output will be 9 For line 11: output will be 9 For line 13: output will be 1 For line 14: output will be 1 For line 17: output will be 1 For line 20: output will be 0 For line 24: output will be 10 For line 26: output will be 5
thank you for you videos. You are by far the best instructor that I have followed. Your presentation is very clear and understandable. At about the 9 minute mark when you are showing the post increment I added both statements int counter2 = 7; cout
This video is very helpful, I really like the way how you explain. I have an exam tomorrow so I am gonna continue watching your videos to get good grades. Thank you so much.
This video is a great refresher on the unary operators (++,--), and assignment operators (+=,-=, etc) for someone like me with a very distant C / C# background but who hasn't coded in those languages for quite a while. Thanks! _Edit:_ Subscribed! 😁
I think everyone forgot the lesson at the end of this video so: line 10 = 9 line 11 = 8 line 13 = true line 14 = true line 17 = true line 20 = true line 24 = 10 line 25 = 4 Some of these had me mistaken at first glance so that was nice. I was confused by the true/false statements so I had to run those lol.
@@hey.whoareyou2265 I guess I forgot we added 2 in previous line oops. lol Plus I don't really feel like you were sorry to tell me I was wrong either lol. Thanks!
@@thorntontarr2894 Well I don't remember this anymore and yeah I was probably wrong. If you did and found mistakes that was the point of all this. Cheer's.
This lesson is by hard the hardest one to grasp compared to all the previous lesson. I'm doing the assignment at the end of the video and I have a few questions regarding some questions. -1) Why does line 11 result in 9?- -I thought pre-decrement is determined with addition resulting in 8.- -The first part is '- - a' which is should be 4(?) and the second part '+b' should result in a total of 8 (?).- -I know that for post-decrement/increment operators, the result is not shown until you code for it to be shown in another line.- -2) Why does line 13 result in 1?- -I thought the 'not' operator overrides the statement and is supposed to make the statement false (0). And if that's not true, how do you compare 2 words and not values?- -3) Why does line 17 result in 1?- -I thought only the first part of the statement is true (1) and the second part of the statement is false (1) which makes the whole statement false (0). Applying the priority rules, the arithmetic operators should be done first, then the relational operators and lastly the logical operators. The first part states that ++x < = 9. Using pre-increment, x will increase from 7 to 8 which makes the result less than 9. This first part true (0). The second part is x+2 >=10. the x value given is 7 which becomes 9 after you add 2 which is not greater or equal to 10. So that makes the second part false (0). Then when considering the && operator, this whole statement should be false (0) because only part of the statement is true (1).-
I figured out why the result of line 11 is 9. Initially, I didn't consider that the previous operator for line 10 had already changed the value of 'b' even if the system didn't show when I ran it. The value of b in line 11 is no longer 4 but 5 due to the post-increment operator. Therefore the system would have calculated the result to be 9. I read about how '!' operator works and understood where I've gone wrong for 2). The initial statement should have been false (0) because only one part of the statement is supposed to be true but the '!' overrode and reset the statement to true (1). I also figured out why line 17 is true instead of false. I made the same mistaken assumption as in line 11. I didn't consider that the value of x would already have been changed in the same line. The value x in the second part of the statement is no longer 7 after the first part of the statement, it is 8. Therefore, making the second part of the statement true and the whole statement true as a whole.
Can you make a video of why girls need to be programmer And why you joined the world of computers . I want my daughter to join the world of computers and she says it's a male profession
Pozdrav Saldina, drago mi je da vidim nekoga sa nasih prostora na Yt prenosi svoje znanje drugima. Pogledao sam sve clipove o C++ do sada. Ideja mi je napisati mali game engine (2d) kao vijezbu. Ono sto mi je falilo u prijasnjim videima je deklariranje i pozivanje funkcija te prosljedjivanje parametara i vracanje vrijednosti. Ideja za clip.
Veliki pozdrav i hvala puno na lijepim riječima. ☺️ Na kanalu možeš naći playlistu koja se zove C++ functions i tu se nalaze stvari koje ti trebaju. Sretno sa radom. 🤗
help please. I m using Visual Studio. I notice that when i create a new solution and want to build, it still build the former solution I was working on. Any help how to build to properly select the correct solution to compile an build?
is there a way to enable/disable your cursor in visual studio? mine has disappeared and when I select a line of code I have no idea where in the line my cursor is when editing.. thanks in advance.
@@silver6950 ++x changes x on both places, so now your ++x =10 Because of that, (++x = 10) is going to be (8 = 10) and that is(true && true) which will result as true (You will get 1 written out, because 1 represents true, and 0 is false)
@@CodeBeauty the original statement is (- - a) + b not (- a) + b. Your last line "is actually (-5) + 5" and that is zero not 9. Silver has not correctly stated the test, missed a "-".
Good but I have a question though. You said that a if increment is added at the end of a variable, then it will increment after any operation that needs to ,let me say act on the variable happens right? So, why didn't counter 2 increment because there was no operation happening on the variable at that time?
Hi, I am a bit confused with %. Why is 5%2=1 and 14%4=2. Should it not be 0,5 and in both cases (being the remainder of 5/2=2,5 and 14/4 = 3,5)? Or am I misunderstand what % means? Thanks!
i think you misunderstood reminder. Reminder is when 5%2 => (biggest number that can be divided by 2 without returning a float is 4) => 5-4 =1 => the reminder is 1 14%4 => biggest multiple of 4 that is less than or equals to 14 is 12 => so 14-12=2 => reminder is 2
The expression is tested for true and for false but are required to be the same (&&) and as they are not the () expression if false. However, the !() negates the false and makes true
@@programmingwithsarah409 Okay, so YT algorithm recommended me, I'm glad to hear that. I'm not an expert, I'm just starting myself, but I have done a good deal of research. The first thing is consistency! Then I would say that you have to look into your thumbnails, so that they're recognizable. The first time that people see you, they will not remember you, but if you make your thumbs to be recognizable, when they see your thumb for the second time, they'll know it's you, and watch your video if they liked the previous one, so the quality of content is important as well. Niche down! Find a specific field, don't make videos about everything! I have also had support on other platforms, so if you have FB, LinkedIn, Twitter, Instagram, whichever platform, post your videos there, don't be shy. If anyone needs your videos, they'll come and watch them, for those that don't, they'll just scroll away. Keywords, tags, SEO! As a small creator, you have to pay attention to these. There are tools such as TubeBuddy, Morning Fame, Keywords Everywhere, Google Trends...research about these. If you are familiar with C++, you can research my videos and see what keywords, descriptions and tags I'm using. Don't try to compete with the big channels out there, a long way you need to walk before YT starts to recommend your videos rather than theirs. You need to have something that you do better than anyone else and shoot on that. And good luck :D If I can help with anything else, let me know. :D
@@CodeBeauty your hardwork pays off.... great content and great efforts... i am MS computer sciences and a udemy instructor... you must try udemy too... there you can do online teaching and earn a lot if your course is liked by people.. and there is a way that you can put your videos on youtube and udemy as well if your course is not part of udemy for business program... try online teaching platforms too... i am sure you must rock there as well... btw, from which country you belong ?