Added: 1 year ago
From: thenewboston
Views: 30,960
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (189)

Sign In or Sign Up now to post a comment!
  • It amazes me how you remember this stuff!

  • how good do you need to be at math to be good at c++ and such, do you actually need mathematical skill yourself?

  • Bucky you're awesome!

  • "Squirt 154? wtf mofo?" xD

  • @112matija it should be .cpp because it's a c++ project not c

  • Ok im learning java and C++ so from what im seeing is that #include is just like import in java right? :D

  • "pretty cool haa?" :))) -> great tutorials!! thanks :)

  • what is this? squirt 154? wtf mofo?

  • is ther a variable that holds numbers and words

  • i know what sqrt means what about addition subtraction multiplying and more?

    what is the C++ word for those

    please help.

  • @magicplayingcards + - * / are the operators for addition, subtraction, multiplication and division respectively.

  • i used to watch xoax tuts but then i saw you and now i can never go back :) xoax isnt bad they just dont make the learning fun while you do

  • This is the first time C++ has ever made sense, fantastic job brother....I'll be on youtube a while, what do we have left ...45 vids?

  • wtf mofo

  • nice work bucky, i love your videos!

  • You are a great teacher. I just started an hour ago with your videos, and i feel like ive been learning for days.

  • you are awesome dude.

  • your tuts are amazing but somethimes i get SOOOOOOOOOOOOOOOOOOOOOOO bored because you speak WAY to much for some easy stuff :o

  • Is it necessary to use endl after a statement?

  • C++ makes more sense to me than BASIC for some reason...

  • Thx man u learned me alot for not :)

  • @ReaperHRX  For now*

  • For all using C++ visual 2010: change "a = sqrt(154)" to "a = sqrt((double)154)". Without the quotes of course. It is needed to determine the type.

  • I have a nooby question... how do you start a project in codeblocks?

  • @TheEliteTech Bucky made another tutorial with codeblocks, watch it here: watch?v=tvC1WCdV1XU

  • can't get them to work. when i type in cout << answer << endl;

    it says that cout isn't declared and endl is also not declared

  • @videonik300 you need to make sure that you have "using namespace std;" as the first line in your program body. I was having the same problem until i realized i forgot it :/

  • i love the way you start each video: what's going on everybody? These tutorials are amazing, but are you going to make a c++ game development tutorial after?? =D

  • Cool, thnx!!!

  • Do you only use iostream in all of your videos? Is this why you don't use printf, input and stuffs like that? Is it because of the include?

    thx

  • thanks for the videos been learning, but when I hit build and debug on xcode it sez it succeeded , but "no launchable executable present at path" is all I get back

    O well I'm still typing the stuff in anyway for the fun of it!!!!!

  • whats the "using namespace std" cause i get an error

  • hey i love ur vids i am a very noob programer this is my first programing langauge i was just wondering im am using visual studio c++ and it doesnt let me us

    a = sqrt(154);

    i dont kno why can some one plz help me

  • @1thing1y Same with me, but I'm using Dev-C++

  • Hey NB, Nice vid, gives people enough to go out & try it. Then a lot comes with experience like rolling 6-4 , 6-1 numbers you like ! Anyway what's a good online BG site. Thnx.

  • double rainbow!

  • if i want to multiply two numbers........how to do that?

  • you could also say number = sqrt(number); saving a variable

  • the 1 dislike is a rage quitter who cant understand simple language :)

  • @ButaChicken or he works for CIA

  • @ButaChicken im a beginner in c++ but i dont think this is simple lol. i love it though

  • @yandykun This is pretty simple if you've learned the basics of programming.

  • @ImAllFact LMAO now i feel dumber

  • @ButaChicken propably it was a mistake:P

  • @ButaChicken noway it is definitely bucky :D

  • @ButaChicken no he missed the like button

  • @ButaChicken i wouldn't call it a simple language cuz c++ is one of the difficult ones x] but yeah, cant understand how these epic tutorials can get a dislike O.o

  • @ButaChicken any disliker is a rage quitter who cant understand simple a simple language. nuff said

  • @ButaChicken 4 rage quitters :p (i am not 1 of them lol....)

  • wtf mofo

  • what is that program

  • @VideoEditingGuru12 dev-C++ u can get it buy searching it on google

  • @jesus35688 Code::Blocks is better.

  • Thank you for the tuts. I made it so it tells them to enter a number and then it takes that number and tells them the square root of it, before you did it in the tut.

  • Thank you for the tuts. I made it so it tells them to enter a number and then it takes that number and tells them the square root of it.

  • y not double d's??;)

  • lol bucky sounds more funny lately, what u ate bucky that made more funny? haha!

  • I just love these tutorials they are so informative and helpful.

  • I look forward to hearing your beautiful voice XD

  • Here's the URL trail for the video I made to illustrate what I'm talking about: /watch?v=13fHZqXwdYg

  • Dude you rocks...

    

  • i was told never to use system("PAUSE") cause it's not good

  • @lucirz Use cin.get( ) instead of system("PAUSE"). It is MUCH less resource intensive, and is portable (meaning it works on any system, not just DOS or Windows). Also, launching your executable from the command line eliminates the need for any kind of pause.

  • @TheRedMalice i already know that, but i don't get why an experienced programmer such as himself would be teaching this to noobs, it's bad programming habit.

  • @lucirz I can't speculate on why he's teaching people to do that. I can only hope that in his future videos he instructs his viewers on the correct way to pause the program. Maybe he'll do one about member functions, and introduce cin.get( ) in that one. Alternately, he could teach C++ programming in a Linux environment to show people how REAL men write code. *flex*

  • @TheRedMalice well bloodshed is really good for beginners, i started out with bloodshed. but it's funny, now that i use linux and gedit to write code, it's hard for me to get back to use IDEs now lol....

  • @TheRedMalice Isn't it because say you entered two integers, using cin, and they told the program to add them together and display it, after you press enter the second time, after entering your second number, rather than displaying the sum it just closes.

  • @FAB3Production Not exactly. Assuming you have a 'cout' statement to display the sum, followed by cin.get(), the sum WILL be displayed but the program will still close too fast to see it. You will have to put cin.ignore() directly before the cin.get() statement to cause the program to overlook the last newline character in the keyboard buffer, which is a result of pressing the Enter key after you input the last of your two numbers. If you want to be specific, you could use cin.ignore(1, '\n')

  • @TheRedMalice Could you not use; cin.sync() cin.get()?

  • OMG SPOONFEEDING!!!!!!!!!! i remember this from his old tutorials, hopefully he catches up soon

  • Where is the 6th Tutorial????

  • Are you re-uploading tutorials or are you starting new c++ learning series?

    You posted tutorial 5 after your posted tutorial 22!!! I don't understand whats going on and some explanation would be good because I don't know where to start exactly.

    I thought you were going in chronological order. Perhaps you should tell people in the description whats going on.

    X_X??????

  • @Whirlwind1000 This is clearly explained in the first video in the series. The old tutorials were outdated, so he's making new updated ones.

  • wierd i just did tht sense i pause it and pla with it so i can memorize it (user ses sqrt thing)

  • Comment removed

  • Thanks, man! I totally forgot about #include cmath when making a caculater lol

  • Thanks for these! I've learned so much threw your tutorials

  • 6th Tutorial?????

  • <3 C++ :)

  • more we need more tutorials but im gona watch ya old ones now :) hope that you have the same version that i do now or all the scripting will be diffrent words

  • please make 6th tutorial

  • And I love your VOICE!!!

    It's not annoying like other Tutorials

  • I want to learn C++ Graphics!

  • @ScienceTutorials c++ graphics require directx and which is extremely hard to program

  • @dadare6 I know

    But hey! Its still cool!

  • @dadare6 it isnt so hard :p go program in ASM and compare that!

  • @ScienceTutorials Be patient =)

  • Are you starting again? It would be much better if you continue the 29 tutorials you already have on c++.. really

  • Hey Bucky I love your tutorials, I'm already an experienced C++ Programmer, but I need to learn Assembly so I can do inline asm with C++. Do you know any good tutorials for learning ASM or could you make a video sometime if you are experienced with low level programming languages ;D?

  • Anyone can learn the console. What I want to know is are you going to show how to program win32 programs. Or just console for us.

  • as a long time subscriber 2 u i advise MAKE TUT 6 NOW!

  • dude we are waiting for 6th tutorial...

  • hey bucky, how can I store the value after the "." in a number?

    ie: 4.2354

    I want store the .2354 to a new variable

    sorry for my english, i'm from brazil

    following you since 2009

  • @Poneivanfa hey here's all you need to do:

    double a = 4.2354;

    int b = a;

    double c = a - b;

    cout << c << endl;

    now this works because when you try to assign the floating point number a to b, b is only declared as an integer and thus the fractional part (the "." part) is thrown away. hope it helps :)

  • Bucky, Don't use system("PAUSE");

    use cin.get() instead

    system pause is bad for OS and makes other subroutines "hang"

    google it :)

  • USE CODEBLOCKS

    PS I WANT TO SEE SOME ASM

  • dude, i swear you had these tuts like a year ago, are you just reposting them or are they updated vids?

  • Your beautiful voice makes it so much more fun :-)

  • make more.. more!! i want more!!

  • holy crap your doing more c++ tutorials? awesome i love you man, no homo...

  • visual studio 2010 express is free but hard to use all the functionality if you are an absolute beginner. Codeblocks is best for beginners in my opinion because it is less intimidating.

  • I would also like to note that using namespace std; is not necessarily that great idea. It means you inherit all the bad of std. (No pun intended). You should also teach people the alternative of writing stuff like std::cout<<. Also, it is very odd to define using namespace std inside of main. If your going to use it I would highly advise you use it out of int main(). In addition, it is a good idea to make int main() int main(int argc, char *argv[]) or something like that for command line input.

  • wtf mofo hahaha!

  • Er, two questions:

    1. Shouldn't the "using namespace std;" be outside the main function?

    2. Isn't using "system("pause");" Not good programming style?

  • @ThatOtherNewsGuy 1. For this particular example it's not necessary, but generally you should do it just for good programming style and... well, to make shit work.

    2. That's correct, making calls to the DOS is hella redundant. I will not elaborate, frankly because there's something called Google, and apparently, it's your friend.

    :)

  • @BenjaminProd Haha, alright. I was just making sure I wasn't crazy about the "pause" thing. Thanks for the explanation though.

  • @ThatOtherNewsGuy:

    1) Not necessarily - namespaces defined as you describe, are global - which can occasionally be problematic when used in more advanced programs. The use thereof in a local scope ensures that it'll be used only there.

    2) Yes. Since this is a beginner tutorial, I think Bucky used this to circumvent having to explain other concepts that a beginner would have to grapple with in addition to what he's teaching. A beginner acceptable equivalent is:

    ...

    cin.get();

    ...

  • @divinelyordained1 whenever i use the cin.get() it just turns off in a ms like without it

    i have windows 7, is that a reason maybe?

    i read that linux user got to do cin.get...

  • @Ruffy12589 You can only use it if haven't used cin in that program

  • Bucky is bawss.

    Best teacher I've ever had.

  • Dear Bucky,

    Your tutorials are the best on youtube!

    BUT there is one big problem with them: you never finish the series(what happened to the IPhone rpg? And the php online game??) I thought you were 'so excited' about them?? . And then after a lot of years you start again with the series!(c++)...

    Thank you

    Tycho (tspider4)

    ps please go on with IPhone (also for you best money profit)

  • but this is really nice to watch :D

  • You shouldn't be using system("pause");

    use cin.get(); cin.sync();

  • Yuck... Plz don't use system("pause"); its really a bad deprecated thing. If you don't believe me google it.

  • Hey Bucky, are you going to continue on your java videos?

  • ^-^Good, i want new tutorials woot ^-^

  • my head hurts now...

  • yessss FINALLY DOODE!!!!

  • It's an object oriented language so it's called a method, not a function. Thats what my teached told me.

  • methods > functions :)

  • @kieve11 You're saying Methods are the Same as Functions?... Noooooooo you're wrong

  • @InsaneMetalSoldier no i said methods are GREATER than functions

  • @kieve11 Oh I see... a function is a method

    so..

    Functions == Methods;

  • @InsaneMetalSoldier when you place a function in a class its called a method so basically yeah

  • @gonzo191 what the hell are you talking about? There's no defined rule for when to use "function" or "method", they are synonyms, so you can use them interchangeably; just as subroutine and routine which is also equivalent in some sense to the word function (OR method.) It's just that in Java, functions are generally called methods; while in C++ they're generally called just that, functions.

  • @BenjaminProd Functions return values. Subroutines just do something... Simple as that?

  • @InsaneMetalSoldier No, subroutines == functions. Look it up :)

  • I called my variable double rainbow xD

  • @TheSolgryn All the way!

  • @TheSolgryn

    double rainbow!

    all the way!!

    what does it mean?

    :DD

  • I'm very happy to see that bucky stopped using a global namespace in his new videos, but system(ANYTHING) is still windows only, cin.get(), or cin.ignore(255, '\n') is the C++ standard way to pause the program, Love the videos still though.

  • @blackfireize Why the hell would it matter if he uses global namespace or system() or not ? I dont want to offend you, but im just wondering, why you are actually happy about that, lols.

  • @LtuL1 Global namespaces are bad coding practice, when people saw that he was using that type of code, most, assumed this was correct. Now i'm not claiming to be an expert but when multiple namespaces containing the same members are used in global scope, the resolution of those members are distorted, meaning you can't code properly.

    As for system(), its a windows only function, this too is bad coding practice. C++ was made to be a cross-platform language, system() is not.

  • @blackfireize Well i think it wont matter, not at all. You wont programm any significant with the c++-knowledge he teaches, so things like that just dont matter.

  • @LtuL1 No it doesn't, but for aspiring programmers, who want to program for a job later on in life, I think Its important to have a good foundation, with good coding practice.

  • @blackfireize Well i do want to programm as job later on, but im far away from that. And yea, youre actually true.

    And well, someone that is already really really good in programming, told me i wouldnt learn anything from tutorials, he told me to think of a programm that i would want to programm, and then he told me that i should try to do that. He also said that i will never learn programming in another way.

  • @LtuL1 Ich habe bemerkt, dass Englisch nicht Eingeborener zu Ihnen ist, spreche ich ein kleiner Deutscher, Wenn das Ihnen helfen würde, aber seine Tutorenkurse für einen zufälligen Programmierer, nicht echte nützlich sein können, aber ja Sie recht haben.

  • Good idea man, these tutorial series seems better the the older one. Keep teaching bro, C++ ftw!

    GUE

  • @akfbtr I think there are enough java tutorials made by bucky already. just go in fucking google and check for the thing you want. now shut the fuck up and let the C++ programmers watch fucking retard..

  • @r3sp3c791, okay calm down buddy. his tutorials are the best and i have already fuckin 4 books about java and so many other materials too but no one can tell better than bucky, you know it. anyway, you will pass to java or c# someday also.

  • well , we need a advanced helping .. inheritance , virtual , classes , operator and so on .. that is what we really need .. thank u any way ,, hope to continue from A to Z ..

  • lol STD

  • @88EdwardElric88

    lol yes confusing....I was like wtf??

  • u better take this far :>

  • cout << "didn't get C++ a couple months ago but now pretty easyy :D " << endl;

  • will you or ahve you gone through C#? im learning C# at school and i want u to do it to ! :D

  • listen all, use C#, thats the best programing language. this one slows computers like JS

  • @dranoel1963

    Dude C# is gay!!! its uses ,net which is very very gay!! and C++ is not slowing down the computer -.- fucking noob

  • haha i love the tab above the video

  • Please do MORE after effects tutorials!!!

  • @TeamxDRx

    fuck after effects c++ is better..

  • nice bucky it will help me at school :D :D you are smart xD

  • Yo Bucky its late go to sleep

  • I agree with rom2014, you should switch to codeblocks. Not only is Dev-C++ no longer being maintained it also comes with an oudated compiler and an outdated debugger.

  • Hey, switch over to Codeblocks, it's so much better than bloodsheds Dev-C++. And it's free!

  • Comment removed

  • @rom2014

    Agree!

  • @rom2014 And another plus, Codeblocks is a cross-platform IDE, meaning that Linux users can follow the videos more easily.

  • @rom2014 visual studio 2010 please or visual c++ express its free and better

  • @rom2014 Dev is also free there is also a new version called wxDev-C++ it has some additional stuff

  • @rom2014 Roflmao! Dev-Cpp is free too?

  • @AKDSoftware Yes I know that.

  • @rom2014 he doesnt care lol

  • @rom2014 whats so good about it?

  • @sisudo21 Read the other comments they explain it better :)

  • @rom2014 How is it better? Anything you can do on devc++ you can do on c::b and visa vera, the only thing I can think of is if you type { it makes a } a few lines down, a compiler is a compiler =/

  • 10th, Pro style!

  • waw 9th DAM IT!!