"So now we're gonna be moving on to the next topic which is: I dunno, but it's gonna be amazing." LOL I love this guy :')
@domojestic41559 жыл бұрын
+Alexander Al Basosi 7:09
@Observ8or4 жыл бұрын
These lessons are still some of the best 9 years later
@AncienRegimeStudios10 жыл бұрын
You know I've tried learning C++ and Python on multiple occasions and failed mainly because the crappy teachers immediately flew off and started doing all sorts of abstruse things without actually explaining what the hell they were doing or what was really going on. This series and this tutorial #5 in particular explained the C++ system better than any tutorial I've ever seen. Thank you bucky for providing clear explicit tutorials for the beginner that keep us coming back for more. You are a true Stakhanovite hero of the internets.
@gauharalikhan22 Жыл бұрын
Bro same happening with me now I am a beginner but now you will be a pro in this field it's a nine years now
@DawgTycoon13 жыл бұрын
This is so helpful, probably easier to learn from these videos than a class full of students
@mjsomething50083 жыл бұрын
Thank you, Without this video many people such as myself wouldn't know what is wrong and what to do so treat yourself
@GustavWallgren12 жыл бұрын
Bucky you are awesome. I figured I wanted to learn some C++, so what I did was I went to the library and borrowed a beginners guide. Then I went to your channel since I knew you are good at this stuff. With the help from you and the book, I have learned tons of stuff, even creating a (quite basic) calculator, supporting Addition, Subtraction, Division and Multiplication. I just wanted to say that you are awesome, and I want you to keep making videfos. Thank you, for making learning so fun!
@mdgrace199012 жыл бұрын
Thank you so much for your amazing videos. Seriously, you are an incredible teacher for what is often seen as a daunting subject. I recently downloaded Microsoft Visual C++ which not only took forever to download but when I ran their tutorial it was extremely confusing. I have learned more in less than an hour by watching your videos. Thanks for getting me pumped about learning to program!
@williambraddell16877 жыл бұрын
Thank you so much. I've just started an IT degree and have been freaking out over the learning curve but your videos are so helpful.
@Blaze-oi6nr4 жыл бұрын
I am a coder and frankly i think thus guy is awesome .I am totally recommending this to a friend of mine who is completely new to coding. Good job man!
@TheRealStoveboldt12 жыл бұрын
Have to say, I was skeptical at first that I wouldn't be able to grasp it. Little did I know, I knew more than I thought I did. This is coming along like second nature. Thanks.
@nabilfikri85116 жыл бұрын
one of the youtuber that I will never skip ads,hope can contribute small amount of revenue 😳❤
@LukaReeson7 жыл бұрын
Great tutorial. Plain and simple. I wanted to make this basic calc. code as an function. After a few tries, I did it. Here's the code: #include using namespace std; int calc(); int main() { cout
@lib76568 жыл бұрын
Your vids are amazing! thank you for thoroughly explaining everything! I've learned more from you in the last 5 vids than from two 50 min comp classes
@achrafaffes59357 жыл бұрын
I'm a beginner here , and to make cout and cin easier to remember , think about as "console out" (cout) and "console in" (cin) ...
@dashcampower46225 жыл бұрын
thats actually what it stands for lol
@janiskristofersvitols94134 жыл бұрын
No shit
@hetaeramancer3 жыл бұрын
@@dashcampower4622 haha
@EricCartmanFTW2 жыл бұрын
cout stands for "character output".
@bjarnes.44238 жыл бұрын
I don't know why, but I get super excited every time I see this stuff. I tried out Java, but C++ is way more amazing, Thanks!! :D
@rukagi8 жыл бұрын
Java's kinda similar to c++ tho...
@hoangphipham27374 жыл бұрын
2020 and I still watching him. Im the freshman and his videos are more interesting than my 45 mins lectures...
@Shippudenk9 жыл бұрын
Great tutorials! "Pretty cool, Ha?" always makes me laugh ^_^ Keep it up!
@RCTestKid9 жыл бұрын
Great tutorials! You kept it interesting to stop me from becoming bored, have followed all 5 in a row so far! Now moving onto 6!
@rafangofur Жыл бұрын
All I can say is this tutorial is very good even after 12 years.
@ScreenPrintR10 жыл бұрын
Thanks again Bucky. Thought I'd study your tutorials to bring myself up to speed in C++. I see you can still make some decent money programming part time. Even if you only know C++, HTML, CSS and JavaScript.
@kitinpancel65457 жыл бұрын
Ive been programming for a year, and my hardest code so far was indeed a calculator, which worked with extremely large numbers too.
@MichaelFishwick11 ай бұрын
Thank You!, you made that very to understand. Liked and subbed.
@nancyasper67314 жыл бұрын
9 years later. Thank You!
@ArvsGamer12 жыл бұрын
u could also do this: int a, b, sum; i figured that out myself, i feel smart :)
@adoo85054 жыл бұрын
Silent Crow u still alive?
@yar3_yar34 жыл бұрын
@@adoo8505 lol
@yar3_yar34 жыл бұрын
Thanks for that tip
@edgetransit33204 жыл бұрын
@@adoo8505 hahahaahhhah wtf
@twistzo67374 жыл бұрын
he died due to corona virus
@petergacov366810 жыл бұрын
Dude you have no idea how stupidly our teacher explains this stuff. I didn't have a clue as to what she was talking about after the first 4 min!
@karthiktata67157 жыл бұрын
LMAO...
@saipai81147 жыл бұрын
true
@saipai81147 жыл бұрын
im late
@WeirdStuffaaaa4 жыл бұрын
yes same to me , their lectures no practical
@Ethaninja13 жыл бұрын
Thanks to these tutorials I was able to make a much more complex calculator. Never got it fully working but it did function properly. Cheers bucky
@changye960410 жыл бұрын
bro i'm 12 and you made it so easy to understand thank you thank you !
@TheXxSPANKERxX9 жыл бұрын
Chang Ye Seriously is every comment section gonna have a " IM 3 AND I LIEK C++" No one fucking cares about your age and it doesn't make you look cool if that's what you're trying. So fucking please.
@changye96049 жыл бұрын
Its nice to get your opinion
@changye96049 жыл бұрын
Its nice to get your opinion
@changye96049 жыл бұрын
Its nice to get your opinion
@changye96049 жыл бұрын
Its nice to get your opinion
@sriramiyer750411 жыл бұрын
i just made a huge calc . it can add,subtract,multiply,divide,find the remainder,calculate squares,cubes,and also square roots.and all that with ur help.u rock bucky!!!!!!!!!!!!!!
@wmx10 жыл бұрын
I love this guy, no blabber just straight to the point! :)
@elijahmasquelier12389 жыл бұрын
omg forgot a semicolon and watched the video like 5 times to see what i did wrong..
@afioyhac54327 жыл бұрын
well u get an error and its says expected ; in some row
@jaylensmith63086 жыл бұрын
Can you imagine making a whole game to find out one small mistake messed it up I know it’s possible
@alexsawyer84676 жыл бұрын
@@jaylensmith6308 Dude you act as though you code an entire game at once and then compile it. You aren't gonna write an entire game without any form of testing until the very end are you? I never write more than a hundred lines of code at once unless I'm sure of what I'm about to do.
@jaylensmith63086 жыл бұрын
Alex Sawyer okay first off, I’m still learning the ropes for coding. I know there’s developers who look over any mistakes nor have ways for the software to check for itself. I was making a joke, don’t take it too far on what ‘You’ would do.
@jaylensmith63086 жыл бұрын
Alex Sawyer second, this comment is 6 months old. From there I’ve learned many things that programming and code does
@theengineeringstudent26784 жыл бұрын
Bucky Roberts, the one who is responsible for I learn programming.
@BlookerG11 жыл бұрын
cout
@hitmanekoyslnp85724 жыл бұрын
Why not use /n
@zaidharithah57384 жыл бұрын
@@hitmanekoyslnp8572 i was thinking the same question too, u got the answer man?
@hitmanekoyslnp85724 жыл бұрын
@@zaidharithah5738 to be honest its still not Cannot complete the series and cant code c++ my computer wont oppen the codeblock so I to post pone until I buy new laptop
@Turtl3Gam1ng11 жыл бұрын
The basics are the most important, I watched an entire Lua tutorial but was never taught the BASICS so had a hard time understanding. Eventually, on my own I had gotten a grip on what the foundational things are according to lua (although I could've swithced tuts or searched it on google). I like this tutorial because they're not 25 minutes each episode, and they're easy to understand.
@nizaral-assi31737 жыл бұрын
the way you explain this lesson is quite good. Thanks
@scott22v7 жыл бұрын
Exactly what i needed. I had to make a tuition calculator for class. Great video thank you
@JamesTsividis11 жыл бұрын
coming from visual basic, C++ is so much more efficient. i am in awe
@turwaa112 жыл бұрын
im practicing this summer for class next year, may sound like a geek, but i love programming keep up the great work bucky!!
@bigzeem75712 жыл бұрын
The compiler reads in order from left to right and line by line, so when it gets to sum=a+b you are going to get non declared variable errors, or you could end up not having the values that the user entered used. It would use the value for whatever old number was previously stored there in that memory slot.
@zaidharithah57384 жыл бұрын
The best youtuber in teaching c++
@amanuel21358 жыл бұрын
C++ Examples: github.com/amanuel2/C-Examples
@theengineeringstudent26784 жыл бұрын
The way you explain is just awesome!
@mikematij28 жыл бұрын
Thanks Matt Damon cant wait to get to the videos I don't know yet!!
@MusicFlowLofi2 жыл бұрын
man, u should make c++ full course video or other programming full course video, ur explanation is the best
@salih-khan5 жыл бұрын
Physics coding you teach everything love you big fan Edit: to make it better you should put up an option for different operations so 1 = addition and that type then you should use a switch case or if else. Variable so check for other operations From there you can have the different operation in functions and be looped
@liauqilun12 жыл бұрын
thx for the awesome tutorial.i don't even know what is c++ and i have idea about it after watching this tutorial
@TheaDragonSpirit12 жыл бұрын
You make it really simple to follow. I have done some C++ before and I didn't realise a few things :-)
@sujanrijalepic4 жыл бұрын
Character In and character OUT. Nice Video .
@Milkycraft12 жыл бұрын
Right on, java was the best thing to learn, I'm watching a bunch of these tutorials from many playlists and all of them start off the same, bucky explaining variables and methods (functions), strings, etc. C++ and javascript are both pretty cool :D
@nerd_yboi87714 жыл бұрын
Amazing, words cannot express how much you're helping me out. :)
@humanoid931sijc12 жыл бұрын
Thanks for the tyutorials, now I've made my very own Advance Calculator that support Square Root, Cube Roots, Additions, Subtractions, Multiplications, and Divisions.
@asifraj3213 ай бұрын
You made it very easy to understand. Thank you 👍
@NormDoow11 жыл бұрын
yeah! i was surprised how much of a review this was after knowing alot of the beggining stuff in java
@iandrsaurri62510 жыл бұрын
i thought that making an adding program would be a much more daunting task not only 21 lines of code, now that's awesome
@skylion6139 жыл бұрын
You're explaining as if we dont know anything...i like it btw congrats on 1M been here since 500K or 600K i dont quite remember all i know it was at least half a year and max of a year and a half.Anyways congrats and as always great tutorial.
@skylion6139 жыл бұрын
+SkyLion also how do you do the / backwards?
@Legendofmudkip9 жыл бұрын
+SkyLion I think his tutorials are aimed at people who are just learning C++. Even for people who do know it though, it is a great help to understand things using different explanations. Also there are two keys on your keyboard, / and \. The \ key is usually under the backspace key.
@skylion6139 жыл бұрын
+xdarkness22x Under my backspace key is Enter yeah btw i got a croatian keyboard/Latin so yeah i apparently don't have it at all..
@Legendofmudkip9 жыл бұрын
SkyLion If it is a croation keyboard then you should be able to get it by shift + Q www.languagesource.com/acatalog/croatiansloviankeyboards.jpg
@skylion6139 жыл бұрын
\ nope but it's ctrl alt q
@ChannelMinecrafter13 жыл бұрын
Thanks so much; I tweaked around from what I learned so now after I enter a number it sais 'enter another number to add with (number entered here)'. This is so easy to understand, thanks!
@DazKins13 жыл бұрын
@SuperHappyvideo its because each variable has a set limit to how big it has to be. This will make more sense when you learn about pointers
@kobtv73804 жыл бұрын
Thank You you helped me in my exam. Love yu
@PaezRice11 жыл бұрын
just wanna mention another possibility... you can also write: cout
@faz432113 жыл бұрын
@lacsapix Yes you don't want to be calculated uninitialized variables. You most definitely have to do the calculations after you have received the user input for A and B. If you try write "sum = a + b" before the program asks the user what they want to calculate it will result it using default uninitialized values which are usually big numbers. It's like trying to ask someone to calculate something before you tell them what to calculate.
@akingofdashit12 жыл бұрын
more specifically: COUT stands for console output CIN stands for console input that's why the first line of the code is include iostream iostream is inputoutputstream
@abirneji11 жыл бұрын
After 15 episodes go back and watch them again just to make sure that you know everything
@Yash-qe3bv10 жыл бұрын
Pretty Cool Huh!
@asustufa15157 жыл бұрын
xD
@blackzack61g12 жыл бұрын
thanks for these vids man. your the reason im going to pass my class. your doing the lords work, or at least my teachers. Thanks again!
@bhargavsrini13 жыл бұрын
If you have an int it supports only data upto 32 bits, that is 2^32. Hence it would give you a random answer if you exceed that limit
@ianiket00139 жыл бұрын
Basic calculator #include using namespace std; int main() { int a; int b; int sum; int subtraction; int multiply; int divide; cout > a; cout > b; sum = a + b; subtraction = a - b; multiply = a * b; divide = a / b; cout
@DukeThatSpooks9 жыл бұрын
***** That's interesting, wonder how you could make it so you can make the input decide what equation would be printed instead of showing all of it at once (Multiplication etc etc). My guess would be using 'if' but I have yet to try it.
@FlipJanson_9 жыл бұрын
***** It goes sum, difference, product, and quotient. Get it rite boi.
@beri41387 жыл бұрын
The division will not work properly because 'divide' is an integer. As a result, the fractional part of the calculation will be truncated. To fix this, you should declare it a float and use typecasting to calculate the division this way: float divide = (float)a/(float)b; Watch Bucky's video about typecasting in C for reference. Aside from that, great program!
@sujanrijalepic4 жыл бұрын
This prints everything at once. How do you make the choice for what you want to do with the numbers. say the user only wants to calculate sum ??
@dibbiepk12 жыл бұрын
Well, if your going to do it like "enter first number" "enter next" then you will have to loop it (I dont know if you learned looping yet), and say after they press H then it stops the loop and does the operation for them. As for the operation number, ud have to do something like "operation?" add "number?" 10 "operation?" dived "number?" 3, then have it say something like "10 + 10 / 3 =" So every time they enter a number, it asks what operation they want to do, and adds it to the equation.
@PvPSAGE8 жыл бұрын
thank you so much this playlist is great so far
@skylerfether718411 жыл бұрын
if you make b=12 and then take out the area where you enter b, then change it from adding the number to multiplying them, you can calculate you age in months
@turwaa112 жыл бұрын
learning with bucky is actually fun
@gunjanrajtiwari14354 жыл бұрын
This is the best tutorial I think if it is upto date. If not please update it.
@magica2z6 жыл бұрын
Love your videos and way explain things.. Cheers
@martichoras11 жыл бұрын
Could also have been a float. In that case I would advise you to use a double or long double :) What you need is the setprecision(x) manipulator where x is desired digit-length. Remember to #include iomanip :)
@DavidBoura6 жыл бұрын
I finally can see plus plus, thank you!
@Qwyst11 жыл бұрын
"So now that you've got that done, we can begin moving on to the next topic, which is...I dunno. But trust me, it's gonna be amazing!"
@izelkay12 жыл бұрын
I don't know if you guys are joking or not (I apologize ahead of time if you are), but cout stands for "character output" and cin stands for "character input".
@abdul-8JbC58 жыл бұрын
this buckey is becoming my captain america
@floralpoboop13 жыл бұрын
int a, b, sum; Does it shorter and faster while taking up less data. If your going to declare the variables you might as well do it that way especially if a person decides to make hundreds of variables.
@rcx8666c8 жыл бұрын
BUCKY IS A GREAT TUTOR...
@zailiner13 жыл бұрын
The first camera created was a pin hole camera, instead of using digital lazy crap, they used a small box with a small hole on it that allowed in to expose the paper that had chemicals on it, the light reacted with the chemicals and created the picture.
@bamidelechristiana63054 жыл бұрын
Your teaching is amazing
@SleepBecomesYou12 жыл бұрын
When you declared your variables (a and b) you were asking the compiler to reserve two spaces in memory (RAM) associated with those variables. Often memory is reused and contains data from a program that ran before. Because you didn't wipe out/overwrite that memory before calculating sum, sum was calculated using the values previously stored in memory. Even though you changed a and b later on in the program sum had already been calculated so it made no difference to the weird value in sum.
@penifest0913 жыл бұрын
@CShelper I don't understand your question. What do you mean? Are you asking if this is the same as using Microsoft Visual C++ or something? If so, then yeah. Microsoft Visual C++ is a program that has a lot more features than codeblocks but it is essentially the same thing: writing, compiling, and running code.
@thavrisco16328 жыл бұрын
The only videos I watch from Bucky are his old videos
@mihkaill232312 жыл бұрын
Thank you so much for the tutorials, now I'm not afraid of programming anymore xD.
@nightprogrammer74748 жыл бұрын
i know this stuff but u make me understand better , thanks dude :) ur the best , lol i watched your HTML 4 our tutorial too xD btw thnx
@DingbatsRealm11 жыл бұрын
by changing int a; int b; int sum; to: float a; float b; float sum; you can do decimal questions
@StanbyMode4 жыл бұрын
God his explaining is so good
@Madgod71111 жыл бұрын
You're an awesome teacher. Thank you so much for these great videos, you have helped me so much!
@iLuvTofu2013 жыл бұрын
@SuperHappyvideo Because the legal values of the int variable are from -2,147,483,648 to 2,147,483,647.
@tkblackbelt213 жыл бұрын
@SuperHappyvideo It's because 1000000000000 is a 39 bit number and a int can only hold up to a 32 bit number. A unsigned int can hold a number from 0 to 4294967295 and a signed int can hold from -2147483648 to 2147483647 because the left most bit is used as a flag to determine if the number is negative or positive
@coreydoyle470212 жыл бұрын
I think of it as "call out" and "call in". But I like yours, it sounds a lot more programmer lingo. lol -Cheers
@lacsapix13 жыл бұрын
be sure to put "sum = a + b;" AFTER the cin >> a&b. else it will just output a ridiculous high number.
@michielidema32399 жыл бұрын
Wow c++ is so much better than java. to build the exact same calculator in java costs u like 3 times more text. This is so much easier
@JohnnyTsirozidis8 жыл бұрын
LOL please enable subtitles in 5:10 ! hahaha! BTW, Bucky my respects to your tutorial...
@emmanueljose019 жыл бұрын
Dude, you're amazing hahahaha greetins from Venezuela.
@AnonymousCuIIen10 жыл бұрын
Many thanks for these videos they're very good!
@greenghost20086 жыл бұрын
You can expand on this too to make it do more than just add.
@GoldentifyGaming11 жыл бұрын
This is real easy :) and anything you do forget. the Build log tells you :D
@ShaneCopseysTV13 жыл бұрын
@SuperHappyvideo VERY late right now, but it does that because the int variable is really considered a long signed int, meaning it will only go from around -2.4million to 2.4million. I answered your question for other confused people btw.
@ryanhackett976811 жыл бұрын
Anand Nair "plz explain the difference between and " iostream.h is depreciated, and iostream is its more modern replacement. The iostream library was created as part of the standardization of C++, whereas iostream.h predates the standardization of C++, back to the early days of CFront (the first C++ compiler).