C++ Programming

  Рет қаралды 4,813,014

Derek Banas

Derek Banas

Күн бұрын

Пікірлер: 9 500
@derekbanas
@derekbanas 5 жыл бұрын
Learn in One Videos for Every Programming Language Subscribe to Bookmark them: bit.ly/2FWQZTx Python : kzbin.info/www/bejne/hGXQdq18ec-kqqM C++ : kzbin.info/www/bejne/iKbFXn2pn7Kbjbs Java : kzbin.info/www/bejne/pF7bcqSZd6iqqZY PHP : kzbin.info/www/bejne/bYWpYWOef65qbrs MySQL : kzbin.info/www/bejne/r4HYZ6SMasesq5Y JavaScript : kzbin.info/www/bejne/nJvYapyfbb6mfdU C# : kzbin.info/www/bejne/oprWmqqLj6-Lp7M HTML5 : kzbin.info/www/bejne/oXXce4FtprZ4iqM CSS3 : kzbin.info/www/bejne/eYbbeZKojLh8Z80 JQuery : kzbin.info/www/bejne/eIi7mJp4YrlkoLM TypeScript : kzbin.info/www/bejne/Y4G1kIunjJ59gLc ECMAScript : kzbin.info/www/bejne/gJLOoJxmfJ2feMk Swift : kzbin.info/www/bejne/mnzEoJ2Fj5KUsJo R : kzbin.info/www/bejne/qWSpoK2Mm8lqp5Y Haskell : kzbin.info/www/bejne/ZmPCeWaCn9aAqJo Handlebars : kzbin.info/www/bejne/annYcqGDa8dlmpo Bootstrap : kzbin.info/www/bejne/naKydqKLh5qFfsk Rust : kzbin.info/www/bejne/i2Kod5p5g7F3eJo Matlab : kzbin.info/www/bejne/hIS2hZ6hgLeUmKs Arduino : kzbin.info/www/bejne/h4DCe5-wZtajetk Crystal : kzbin.info/www/bejne/eqmpgWCNn9anqcU Emacs : kzbin.info/www/bejne/f5LKk6lvbJl6orM Clojure : kzbin.info/www/bejne/mZqqqnuhedqDd6c Shell : kzbin.info/www/bejne/nqjVn6CHqtKnhtk Perl : kzbin.info/www/bejne/jXbKmXyOqJ15bMU Perl6 : kzbin.info/www/bejne/omHdgaqenLyHna8 Elixir : kzbin.info/www/bejne/pnOxgJSsh9SBgpI D : kzbin.info/www/bejne/qKi9d4ekm56Verc Fortran : kzbin.info/www/bejne/lZCVhpp8g76anJo LaTeX : kzbin.info/www/bejne/jJnQnH-ohM9_qdk F# : kzbin.info/www/bejne/mWjIf3eAg5xobrc Kotlin : kzbin.info/www/bejne/fpDSeJxuqtp3pqM Erlang : kzbin.info/www/bejne/f3bLqJZoppatfZY Groovy : kzbin.info/www/bejne/eGqbm5Zuncmob8k Scala : kzbin.info/www/bejne/equppWOPoL-ibq8 Lua : kzbin.info/www/bejne/n37ElKuQhrKDjtU Ruby : kzbin.info/www/bejne/epvManSCeMyZpq8 Go : kzbin.info/www/bejne/eXechGeHj9qJaZI Objective C : kzbin.info/www/bejne/a5bWgqSQfq9rack Prolog : kzbin.info/www/bejne/iarOqYqme9yAfdU LISP : kzbin.info/www/bejne/r562ometfdekr7c Express : kzbin.info/www/bejne/rnWmfJaEd6umq6s Jade : kzbin.info/www/bejne/omakiZaOdrVnqJo Sass : kzbin.info/www/bejne/rauWnHiigcd4fqc
@vodkacannon
@vodkacannon 5 жыл бұрын
Can you tell us the name of the font, Mr. Banas?
@ogradus
@ogradus 5 жыл бұрын
You are truly a master! Just watched the whole video. This video is better than the learn to coffee in 5 hours and it's only 1 hour! Thank you, sir!
@roncantrell7238
@roncantrell7238 5 жыл бұрын
Definitely watched the whole video and I'm going to watch it again. You are the best teacher I've encountered yet. Very concise and to the point. Thanks for all you effort.
@aaaalsinidi5319
@aaaalsinidi5319 5 жыл бұрын
Great video
@not_herobrine3752
@not_herobrine3752 5 жыл бұрын
I wonder how much time did it take you to notice the error at 28:36 ?
@betarunex9388
@betarunex9388 8 жыл бұрын
To anyone learning how to program. THIS IS NOT FOR YOU. This brilliant video is for revision or swapping from one programming language to another. If this is the first time you're learning to code, you will most likely get lost. This is covering everything you'd do in an entire year squashed into 1 hour. Don't recommend him slowing down. There's 100's of tutorials where they go through slowly and carefully. This is one of the only ones that takes it at a great pace for many of us already familiar with coding and just want to swap over to C++. We need this man's brilliant work at this pace
@derekbanas
@derekbanas 8 жыл бұрын
Thank you for the nice compliment :) Yes this isn't for beginners
@ivanivanic3259
@ivanivanic3259 7 жыл бұрын
This :D
@irfanali-ex9uf
@irfanali-ex9uf 7 жыл бұрын
PLESE HELP ME
@dorismagri1523
@dorismagri1523 7 жыл бұрын
Derek I like your video, although i am green for C++ programming and new, but i am interesting in this subject. Thanks for your videos that are of great interest.
@mpete0273
@mpete0273 7 жыл бұрын
I learned Python first, and now this is godsend ^_^
@jex3664
@jex3664 6 жыл бұрын
Data Types : 2:40 Arithmetic : 6:02 If Statement : 9:19 Switch Statement : 12:01 Ternary Operator : 13:08 Arrays : 13:49 For Loop : 16:30 While Loop : 17:56 Do While Loop : 19:42 User Input : 20:27 Convert String : 20:56 Strings : 21:39 Vectors : 27:47 Functions : 30:16 Recursive Function : 32:37 File I/O : 34:57 Exception Handling : 38:38 Pointers : 40:02 Reference Operator : 40:25 Classes / Objects : 47:12 Private : 47:55 Static Variables : 48:21 Public / Encapsulation: 49:02 Constructors : 50:42 Static Functions : 51:46 this : 53:16 Inheritance : 57:29 Call Superclass Constructor : 59:14 Execute Static Method : 1:00:34 Virtual Methods : 1:02:45 Polymorphism : 1:07:39 Abstract Data Type : 1:08:29 For people who use mobile
@pewdiepaulmarkdobrik5216
@pewdiepaulmarkdobrik5216 6 жыл бұрын
Mtsk thanks thats a lot of hard work
@ethihaldar3942
@ethihaldar3942 6 жыл бұрын
Tnq
@jex3664
@jex3664 6 жыл бұрын
@@pewdiepaulmarkdobrik5216 it's on the description
@caio-jl6qw
@caio-jl6qw 6 жыл бұрын
Thank you ;D
@nikolatesla8853
@nikolatesla8853 6 жыл бұрын
Thanks a lot U R so good 😍😍😍😍😍
@tommacari4103
@tommacari4103 4 жыл бұрын
The fact that these Derek Banas tutorials exist on KZbin (with time skips in the description) for free, is a true gift to the programming community
@matthewp4046
@matthewp4046 4 жыл бұрын
I watched the whole thing. I'm coming from already knowing C fairly well, so this format worked quite well for me.
@derekbanas
@derekbanas 4 жыл бұрын
Happy I could help :)
@gilh0006
@gilh0006 8 жыл бұрын
Video took me over 10 hours collectively to process all the information, writing all the code and adding comments for me to understand in the future. Beautifully done and explains everything wonderfully. Brilliant job.
@derekbanas
@derekbanas 8 жыл бұрын
You watched it perfectly. To learn everything you should take your time and write notes as you pause through. I'm glad it helped :)
@gilh0006
@gilh0006 8 жыл бұрын
Thank you. I'm trying to teach myself how to code as I want to get into the industry. I'm 22 going 23 and want to do an apprentiship in IT. Thinking of watching your "html 5" video while I cement what I've learned from C++.
@ref3665
@ref3665 7 жыл бұрын
Jake Gilham I wish you the best of luck!
@ЛукаРажнатовић-я9э
@ЛукаРажнатовић-я9э 7 жыл бұрын
Jake Gilham how it is going so far ? did you give up or still learning ?
@stiliyankushev8041
@stiliyankushev8041 2 жыл бұрын
This channel is pure gold. I love the fact that it's purposefully orientated for people that already know how to code in X language. That's the type of content that said people (like myself) are always looking for, and you sir provide some quality content! This video is almost 10 years old and yet I've not seen anything like it so far. Awesome job!
@0mer870
@0mer870 6 жыл бұрын
I watched the whole video... after 3 years from first clicking it.
@inayatmohammed3923
@inayatmohammed3923 5 жыл бұрын
How was it
@chrissmith1152
@chrissmith1152 5 жыл бұрын
better late than never, eventhough had you learned it 3 years ago you would've been a certified developer nowadays
@luckyquest2005
@luckyquest2005 5 жыл бұрын
Proud of you
@anlcangulkaya6244
@anlcangulkaya6244 4 жыл бұрын
mee to man
@maavrizz
@maavrizz 4 жыл бұрын
@@anlcangulkaya6244 hi
@MrtinVarela
@MrtinVarela 6 жыл бұрын
*"A day without sunshine is like, you know, night"* -Steve 2014
@derekbanas
@derekbanas 6 жыл бұрын
I always liked that quote :)
@MrtinVarela
@MrtinVarela 6 жыл бұрын
+Derek Banas Keep the good content coming. You're one of the best out there.
@alexwang5463
@alexwang5463 4 жыл бұрын
Steve Martin is the name
@derptivo
@derptivo 7 жыл бұрын
I watched the whole thing and was asked to make a post saying so, so here it is. A little feedback: - For a person who may be brand new to C++ or programming in general, you went way too fast. - For a person experienced with programming, but new to C++, you went just a little too fast and provided almost enough supporting detail to each of your points. - (In my case) For a person with experience programming, and some C++ experience who is looking for a refresher or to fill in minor gaps in knowledge, this video was SPOT ON! Basically, this video was EXACTLY what I was looking for, and I will be bookmarking it to refer back to in the future! -V.
@derekbanas
@derekbanas 7 жыл бұрын
Thank you for the input :) I'm glad it helped. Yes I agree a beginner to programming is not the target audience
@PINPAL
@PINPAL 7 жыл бұрын
Can confirm as person “experience with programming but new to C++” I got it for the most part but some bits I hadn’t seen before were slightly too fast.
@charles-antoinemartel-roy
@charles-antoinemartel-roy 7 жыл бұрын
You're not supposed to learn all C++ in 1h. But because the video goes fast, I can just re-watch some parts a few times until I've understood how it works while I do tests. Just don't expect that watching a 1h video a single time will make you a programmer.
@zlackbiro
@zlackbiro 6 жыл бұрын
Vito Morlino - I moved from PHP, Java, etc to C++ for my project, whatched about 15 vids and i started to create my own logic in C++ and write my code from 0 to 100% without help of any other example on the internet. You must have basic principle how structure works, and you can gues later what you should do if you know the principle. EG: If you learn how to start and operate with remote your old TV, you can explore and fast learn other new and more complex remote controller with teletext and smart menus. And if you got it, next day you can wonder in your head how remote sending signals and you want to look inside, you find the chip, than you learn how to program your own, than you start to use microcontroller and software, and learn one by one. I started from Hello Word in HTML writed in Notepad. Now i am expert in PHP, C++, Pyton, Java... i have my own Libs, i print my PCB, soldering parts, creating my own modules, controllers powered by complex logic and algorithms... Not to easy, but its easy if you want to know!
@JeesupGra
@JeesupGra 6 жыл бұрын
As for me it was easy to watch and understand, because I've jumped across few languages learning about them, which gave me fundaments to proceed with further learning. About basics of programing I've learned from Python, but later I've jumped to Java and some C# which gave me more stuff like virtual classes/methods, abstract classes and intefaces, which gave me better understanding of OOP. If it comes to C++ pointers and references is hardest part to understand. Of course, There is no way to learn how to fully use C++ because there are heading files and preprocessors which are ommited in this video and they are quite crutial to understand C++.
@aegisdcv
@aegisdcv 8 жыл бұрын
I can't believe I watched the whole thing, but it was a great refresher and I think I learned a few new things too!
@Jetsy-404
@Jetsy-404 8 жыл бұрын
same
@renatomatosmiguel1915
@renatomatosmiguel1915 8 жыл бұрын
same here
@sluggath88
@sluggath88 8 жыл бұрын
same
@kanav7838
@kanav7838 8 жыл бұрын
same here
@Tremor244
@Tremor244 8 жыл бұрын
I love tutorials that are fast paced, and go straight to the point without messing around! :)
@derekbanas
@derekbanas 8 жыл бұрын
Thank you :)
@DirtyTuskan
@DirtyTuskan 7 жыл бұрын
I love this the only form of coding we do at school is flash and java script and btw your voice is fucking mint
@ibrahimdiallo4775
@ibrahimdiallo4775 7 жыл бұрын
EXACTLY!
@denisesalim7195
@denisesalim7195 7 жыл бұрын
docs.google.com/spreadsheets/d/1ccdn9pbLYVPagNz-sr58ASuG17P0RBgZZJP2DJJ2RBw/edit?usp=drivesdk
@khushbubisht1811
@khushbubisht1811 7 жыл бұрын
Me too.......
@thunder7135
@thunder7135 6 жыл бұрын
*For those coming here for the object-oriented part of C++:* 47:15
@UriGerhard
@UriGerhard 6 жыл бұрын
Many thanks
@CanYouResistClick1ng
@CanYouResistClick1ng 6 жыл бұрын
The real MVP
@vyshnavalppara9022
@vyshnavalppara9022 6 жыл бұрын
play.google.com/store/apps/details?id=com.antlem.coderhub
@CanYouResistClick1ng
@CanYouResistClick1ng 6 жыл бұрын
thanks for for posting what he already put in the comments.
@MayankShrivastava0
@MayankShrivastava0 6 жыл бұрын
Thanks
@PrNizar
@PrNizar 9 жыл бұрын
Thank you sir. But my head is hurting me bad and my eyes are bleeding.. Is that normal?
@bencone3737
@bencone3737 4 жыл бұрын
One of the greatest blessings to the programming community. Haven't used C++ in about 3 years, but it all came rushing back. Great format, and I love how quickly, but succinctly you cover the entire language. Thank you.
@derekbanas
@derekbanas 4 жыл бұрын
Thank you for taking the time to write a nice message :) I'm happy that I could help
@spencershrek1491
@spencershrek1491 5 жыл бұрын
As a programmer who knows Java & C, this video was EXACTLY what I was looking for. Such a great summary. Hats off to you!
@derekbanas
@derekbanas 5 жыл бұрын
Thank you very much :)
@jaydeedangalan8223
@jaydeedangalan8223 3 жыл бұрын
Please help me
@TheJTYX
@TheJTYX 6 жыл бұрын
Just watched the whole video as a refresher on C++ for a job interview after not using it for at least 2 years. It's freaking awesome! Great job condensing all the necessary into 1 hour while still keeping everything clear and easy to understand. Nice how you explained inheritances and polymorphism while solving the diamond problem at the same time. Thanks! I'm going to check if you have more videos that goes deeper into object oriented programming because if it's the same format it will definitely be a great refresher. A++ definitely recommended for experienced programmers and people who have experience with C++ but needs a refresher!
@derekbanas
@derekbanas 6 жыл бұрын
Thank you very much :) I'm wrapping up a big C++ tutorial now and I have another on Object Oriented Design using Java
@zocnute
@zocnute 9 жыл бұрын
This video was beautiful. Fluent, explanatory, fast. 10/10.
@HugoIetsGaming
@HugoIetsGaming 9 жыл бұрын
+Ege Tuncoz ign
@janmay6349
@janmay6349 9 жыл бұрын
+Ege Tuncoz 10/10 IGN
@rodrigogaldeano8808
@rodrigogaldeano8808 9 жыл бұрын
+Janmay Patel too much code 7/10
@HugoIetsGaming
@HugoIetsGaming 9 жыл бұрын
Rodrigo Galdeano Too many script kiddies 69/10
@MahNameIsJeff
@MahNameIsJeff 9 жыл бұрын
+TeleTubbie Luver too many script kiddies? What are they gonna do with this code? lol
@captn_hanky
@captn_hanky 8 жыл бұрын
Actually you could learn c++ in half an hour by playing this video at double speed
@Dragnerve.
@Dragnerve. 8 жыл бұрын
bad idea
@derekbanas
@derekbanas 8 жыл бұрын
That's funny :)
@marekgrencstein7215
@marekgrencstein7215 7 жыл бұрын
Hello, Derek. Can you please add some notification on your video about the fact that you will be covering C++ legacy code that is simply there so the old code would still compile? You are talking about things like new and delete that are deprecated and c++ features only because legacy reasons. This is not how you should write c++ anymore.
@g0nt4
@g0nt4 7 жыл бұрын
I only can do 1.5 times. 2 times the speed is too fast for me. Maybe if I wasn't ESL.
@HermanWillems
@HermanWillems 6 жыл бұрын
Thanks for the tip. Am now a C++ expert in half an hour. Just did it before i went to apply for a C++ job. So im good now.
@simmo9710
@simmo9710 8 жыл бұрын
15:05 I think it's better think think of arrays as lines, to squares to cubes, and each array within each array is another coordinate: 0 1 2 3 0 [A][A][B][C] 1 [D][A][B][C] 2 [H][Z][B][C] 3 [A][A][B][C] arrays[2][3] = B. I think that's a bit easier than boxes in boxes in boxes in boxes, even though that is what they are, this is just another way of looking at it.
@georgievvladimir
@georgievvladimir 8 жыл бұрын
what about 4d arrays ?
@simmo9710
@simmo9710 8 жыл бұрын
Vladimir Georgiev Well I mean that's just a four dimensional shape that you can't represent with a diagram.
@somemathkid2889
@somemathkid2889 8 жыл бұрын
linear algebra for matrices and projections for cameras in games
@JuanGarcia-zy8yw
@JuanGarcia-zy8yw 8 жыл бұрын
i can give you an easy example. simulate a movie theater where each theater is composed of different sections and each section has a certain amount of rows and each row a certain amount of seats... that right there could easily be a 4d array..
@somemathkid2889
@somemathkid2889 8 жыл бұрын
if you want the real reason for 4 dimensional arrays it is this: if you use Euler angles you lose one degree of freedom on each axis: "Main reason games use quaternions is because they represent rotations almost as space-efficiently as Euler angles, without suffering from Gimbal lock. Gimbal Lock begins when any Euler angle reaches a rotation of 90 degrees around any axis: you immediately lose a degree of freedom. Quaternions address this issue by adding a fourth dimension. If you stuck with Euler angles, you'd have to restrict one axis to never rotating more than ~89 degrees."
@philippseybold3530
@philippseybold3530 6 жыл бұрын
Watched the whole video and enjoyed refreshing some basic concepts as well as the C++ specific part about pointers/references etc. Loved how you used them when demonstrating classes explaining encapsulation and polymorphism. Really helped a lot to finally get these C++ things in my head that work kinda different from Java. Also saved a lot of time thanks to the pace you chose for the video :)
@luishenriques6364
@luishenriques6364 7 жыл бұрын
I'm absolutely impreesed. To be honest, I didn't think you could do this. I wasn't expecting such an amazing video. I've been programming in Java and C# for some time now, and I wanted to learn C++. This video was perfect for me. I still have a couple of questions, though: 1) Why do you sometimes define your methos inside a class, such as: class Animal(){ public: void makeSound(){ cout ...} }; and, other times, you define it outside the class, such as: class Animal (){...}; Animal::method(){ ... } 2) Also, why do you sometimes use the "new" keyword and other times you don't. Like in: Animal fred; vs Animal* pCat = new Cat; Thank you so much for this amazing video. Best regards.
@rwnull
@rwnull 7 жыл бұрын
Not sure if he explained it (still watching the video), but to answer your questions: 1) The first Animal you created has "implementation" and "declaration" defined all in the same place. The second one separates "implementation" from "declaration". The second approach is common in C and C++, as it is used to get information of code without actually showing the code itself (this is required when you are using other libraries due to how the compilation process works in c++). Typically, you would separate implementation from declaration via header(.h, .hpp, etc) and source (.cpp, .c, etc) files. So, in the header file you would just declare signatures of everything, then in the source file you would actually implement all of the signatures. It's very verbose, but very useful. 2) The "new" keyword is used differently in C++ than it is in languages like Java or C#. You are actually dealing with two different memory places in C++, the stack, and the heap. You need to understand and watch them closely in order to prevent subtle bugs/crashes. So, when you write Animal animal; you are creating an animal instance on the stack. When you write Animal *animal = new Animal(); you are creating it on the heap. Definitely worth researching.
@luishenriques6364
@luishenriques6364 7 жыл бұрын
Nice. Thanks for answering. I suspected the separation of both declaration and implementation was for that very reason. I just didn't want to assume it. As for the stack and heap, I have no clue what those are, so I will have to study them. Thank you for pointing me in the right direction.
@ameeno
@ameeno 7 жыл бұрын
I think he was demonstrating creating functions and constructors INSIDE the class, and also showing it is possible to create using the scope operator outside the class.
@AnuragsharanTG
@AnuragsharanTG 6 жыл бұрын
second one creates a dynamically allocated variable whereas the first is a static variable.
@majinmilad
@majinmilad 6 жыл бұрын
In simplistic terms the stack is a memory model where your local automatic variables (static variables) (i.e. the standard variables you use like int num1 or string userName) and your function calls are stored. It has a first in last out (FILO) pattern, meaning if three functions are called sequentially, then they are "stacked" on top of each other, so to speak, and the first one called will be the last one removed from memory. In other words the third function called will be the first one to be deallocated from memory (when its scope has ended). Then control will be handed back to the second function and when its scope has ended it will deallocate and hand control back to the first function called. By contrast the heap is where dynamic memory goes. Dynamic memory has no pattern of allocation/deallocation like the stack does. Heap variables also have no variable names the way static ones do and thus is the reason for having the "Animal* pCat = " part. Since dynamic variables have no names associated with them, the way you access them and keep track of them/use them is to create a static pointer variable (which does have a name "pCat") that points to the nameless dynamic variable. Pointers are just datatypes made to hold literal memory addresses for situations such as this one. So by "pointing" to the dynamic variable, the pointer pCat really is just holding the variables heap memory address as its own value. There are some rules on how you use pointers but it's basically just a bridge between the nameless dynamic variable and anything trying to access that data (e.g. you the programmer). Now remember heap memory is not automatic meaning memory isn't allocated and deallocated automatically based on the scope of the variable. This is where the "new" part comes into play. 'new' means allocate and 'delete' means deallocate on the heap in C++, and they must be explicitly expressed in the source code. So here, the programmer tells the program to allocate memory on the heap for one variable of type Cat, then store its memory address in a static pointer variable (on the stack) called pCat so that it can access this dynamic variable later. The keyword new with an assignment operator (=) automatically returns the address of the memory it allocates. The "Animal*" part is just the datatype of the pointer variable pCat. The '*' signifies that the declaration is a pointer, and the 'Animal' part signifies the type of variable it will point to i.e. that the address pCat will point to is of type Animal ("new Cat"). I'm assuming here that Cat is a class inherited from the class Animal and thus a pointer of type Animal can point to objects of classes derived from animal (Cat objects). This is a feature of polymorphism. But that's pretty much all there is to it. Heap memory is different from stack but the common ways you use it is very similar to regular variables, minus the use of pointers and the keywords new and delete. Now the biggest thing about heap is that you the programmer must deallocate the memory (delete) when appropriate because otherwise the memory will persist and that is no good. Hope this was clear
@zardingeorge7080
@zardingeorge7080 5 жыл бұрын
String part: 25:40 1st he did : string wholeName = yourName.assign(yourName); The right way is : string wholeName; wholeName.assign(yourName); 2nd he did : string firstName = wholeName.assign(wholeName, 0, 5); \\It will actually do is cut out the first 5 charactors from wholename and replaces it's data with what they cutout and equals with firstName string variable. The right way is : string firstName; firstName.assign(wholeName, 0, 5);
@heysoular
@heysoular 5 жыл бұрын
Thank you, I was confused by that part but your correction is spot on!
@jeongfanberg3795
@jeongfanberg3795 6 жыл бұрын
Excellent review for old time C programmer who has done tons of C and some C++ in the past, definitely too fast for a beginner. Minor correction around 12:42, if you leave the "break" out of a switch statement, it doesn't "check" anything further to see if it matches (as you stated), program flow just knows it hit a match already and continues executes all the statements in the switch statement until the program flow either hits a break statement or the bottom of the switch statement - it is called "fall through".
@madhououinkyoma
@madhououinkyoma 6 жыл бұрын
Jeong Fanberg if it continues to execute isn’t that the same as “checking”?..
@logomoniclearning6680
@logomoniclearning6680 8 жыл бұрын
You will be remembered as a legend.
@derekbanas
@derekbanas 8 жыл бұрын
Thank you for the nice compliment :) I do my best
@dakehaste6196
@dakehaste6196 7 жыл бұрын
Hey could any of you help me learn how to hack
@raymulder1
@raymulder1 7 жыл бұрын
All the people who have never used C++ before were stumped after the first 5 seconds. All the people who came here knowing C++ thought it was fantastic because they just realised they also knew the basics...
@josephcro2138
@josephcro2138 6 жыл бұрын
the saddest thing is.. these are the basics
@Ricardoromero4444
@Ricardoromero4444 6 жыл бұрын
I don't know Cpp. I thought the video was good. I have already programmed quite a bit in java. This video is for people who know how to program.
@NuevoVR
@NuevoVR 6 жыл бұрын
im coming from C and i understand it all crystal clear although this just covers the literal basics lol
@0xF33D
@0xF33D 6 жыл бұрын
Came here two years after I watched it. Now I honestly think it's a poor video factually, and it implicitly teaches very bad habits. The content is ultra-basic, it's not even funny.
@containmentbox1388
@containmentbox1388 5 жыл бұрын
@@0xF33D Could you expand on what the bad habits would be?
@b4ux1t3-tech
@b4ux1t3-tech 10 жыл бұрын
"Functions or methods. Same thing, different name." THANK YOU. I am so sick of the coding elite complaining because I use the word "Function" when I'm talking about "methods". Worse yet are the VB.net elitists who try to rip me a new one when I refer to VB.net "modules" as "functions". THEY MEAN THE SAME THING, PEOPLE! Anyway, thanks for the awesome video and sorry for the rant. You rock, Derek!
@derekbanas
@derekbanas 10 жыл бұрын
Christopher Pilcher It is all just jargon. That always irritated me as well. My goal is to help people learn and not to try and make myself sound smart :)
@Bozacar
@Bozacar 10 жыл бұрын
Method are functions that work on objects, that's how I see it.
@b4ux1t3-tech
@b4ux1t3-tech 10 жыл бұрын
Bozacar that it's a good way too look at it. Python specifically uses that classification in their docs.
@b4ux1t3-tech
@b4ux1t3-tech 10 жыл бұрын
LiveDieCode That's exactly the kind of pedanticism that discourages a lot of new programmers. It's also pointless.
@zardingeorge7080
@zardingeorge7080 5 жыл бұрын
at 46:23 Both Pointer and Referencer can be used equally . Both aren't need to be initialize at declaration of variables. In case of dealing with the reference we could used same as pointer does is shown below: void actYourAge(int& ageRef) // here, ageRef is a reference to the myAge and that is initialized whenever this function is called. { ageRef =39; } int main() { int myAge ; actYourAge(myAge); cout
@zardingeorge7080
@zardingeorge7080 5 жыл бұрын
@Peterolen myAge is a variable and ageRef is a reference that going to initialize whenever that function is called. I supposed to say that, we no need to initialize the reference/pointer at the time of variable declaration in regards to his explanation.
@johncameron7319
@johncameron7319 6 жыл бұрын
Not sure why DB suggests that to create a string in C you'd do: char name[] = { 'D' ,'e' ,'r ', 'e' , 'k' '}; when he knows full well that char nane[] = "Derek" or char *name = "Derek" works equally well in C.
@MineStudio68
@MineStudio68 5 жыл бұрын
also not sure why he uses the getline function. it's unsafe and cin.getline() works just as well
@kruemelmonster1568
@kruemelmonster1568 4 жыл бұрын
Im a little late but he didnt suggest to create a "string" this way. He gave an example for arrays and multi dimensional arrays with characters.
@Moronicsmurf
@Moronicsmurf 10 жыл бұрын
So i'm a PHP developer that converted to Node.JS and needed to pickup C++ for making Node.JS modules.. I must say after 2hours and 20min. /you do the math/ this actually make hella lot of sense. And was easier to absorb than watching 128 episodes of "learn C++ - the slow and tedious way".. Thanks!.
@derekbanas
@derekbanas 10 жыл бұрын
Moronicsmurf Thank you :) I thought it would be a good idea to make tutorials for people that already knew how to program in other languages. I'm glad I could help. I'm planning on making a NodeJS video very soon. Great framework!
@Moronicsmurf
@Moronicsmurf 10 жыл бұрын
yeah the big pit falls i have when teaching top down coders in node.js is to mind the asynchrounous parts of the language and framework.. it just doesnt dawn on most of them that everything tends to be non-blocking. ;)
@derekbanas
@derekbanas 10 жыл бұрын
Moronicsmurf I get that. Before Node I thought I'd be a PHP guy forever. That ship has definitely sailed. I still do a lot of work with Laravel though. I can't wait to make that video.
@Moronicsmurf
@Moronicsmurf 10 жыл бұрын
hehe, so now.. step into this..LinuxCNC uses Python for UI, but C++ for drivers and HAL overlay. By utilizing C++ as module language for Node.JS you can expose most of the application to a 3rd party, and have the UI locally react when the remote client on say a webinterfaced phone clicks a button and move around a 2 ton machine. I needed these 2 crash courses (just watched your python variant and made the first connection literally 5min ago) ;)
@AlexKoudrin
@AlexKoudrin 6 жыл бұрын
Watched the whole thing. Spot on for my level, where I wanted a quick refresher.
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :)
@ashokvarma3054
@ashokvarma3054 7 ай бұрын
Thanks!
@0Apocalypze0
@0Apocalypze0 7 жыл бұрын
Absolutely brand new to C++ and after 1 hour i have no idea what is going on
@derekbanas
@derekbanas 7 жыл бұрын
This is my series for beginners to programming kzbin.info/www/bejne/pKjNcnuHerd_Zpo
@warchild2726
@warchild2726 7 жыл бұрын
This video is not for beginners, this is for someone who already has small knowledge in this language and wants to repeat some stuff :) As beginner you need to watch more detailed tutorials... and if you want to learn one language in one hour.. just dont :D
@cantcode1001
@cantcode1001 6 жыл бұрын
that's because you cannot learn C++ in one hour long video, unlike what the OP says in the description.
@parodysauceofficialytps7484
@parodysauceofficialytps7484 6 жыл бұрын
Ive only coded HTML and vbs. Idk either
@infinitegames9218
@infinitegames9218 6 жыл бұрын
John Snow it is not for begginners
@emathew97
@emathew97 6 жыл бұрын
I'm 90 years old, intoxicated, trying to learn C++, and you tell me I can't drive!? that's worse than MOONSHINE ON THE WATER!
@johnswolter
@johnswolter 6 жыл бұрын
Wow, C++ is widely popular to every age group.
@tomasbrod1533
@tomasbrod1533 6 жыл бұрын
'97 ? I think you are 21, not 90.
@st3quinn
@st3quinn 6 жыл бұрын
@@tomasbrod1533 doesnt mean hes born in 97
@MrStarfishP
@MrStarfishP 5 жыл бұрын
@@michaelherweg7421 He died 6 months ago, in the car crash, from natural causes #Gravity
@kelamullah1999
@kelamullah1999 5 жыл бұрын
@@tomasbrod1533 1897
@nullsafedev
@nullsafedev 6 жыл бұрын
Watched 'till the end. I have a Introduction to Programming II exam in about 30min, it covers C++. I have done all the studying I can, confident I will do very well, this video was excellent revision. Thank you for making it :)
@CuteLittleHen
@CuteLittleHen 5 жыл бұрын
Did you do well?
@morganwarner3821
@morganwarner3821 6 жыл бұрын
I watched the entire video. I'm in college for programming and all of my previous classes were for java. All of the sudden this class wants me to program in c++. This video was a life saver. I now know all of the basic key words and structural differences. Thank you so much!
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I'm very happy to hear that it helped
@rubixiam4769
@rubixiam4769 6 жыл бұрын
Just watched this as part of my exam revision for tomorrow, great video, helped me understand polymorphism and virtual functions more than anything else has and was super helpful in remembering some bits of the language i had forgotten, thanks :)
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I wish you the best of luck on your exam
@ThePrinceeGee
@ThePrinceeGee 7 жыл бұрын
Thank you so much man, made it so easy for me to transition from Python programming to C++.
@derekbanas
@derekbanas 7 жыл бұрын
I'm very happy to be of help
@waf5
@waf5 3 жыл бұрын
if ( it's the first time for you ){ "YOU WILL GET CONFUSED"; } else { "YOU CAN WATCH IT AND RECOVER WHAT YOU LEARNED"; } this video is for those who want to recover what they have learned and forgot
@Nyckoka
@Nyckoka 3 жыл бұрын
It was this video that made me first want to learn to program. There are people saying this isn't for beginners, and obviously when I didn't know how to program I was lost, but it was really nice to have this pop up in my recommended. My life changed after this. Thank you for your contribution to the community.
@iqandreas
@iqandreas 9 жыл бұрын
The multi-dimensional char array defined at 15:10, although it works in your example, is wrong, or at least very misleading. `myName[5][5]` creates an array allocated to hold 25 items, which you can visualize as 5 "rows" and 5 "columns" of characters. If you want to use it like you do in your example, the array should be defined as `myName[2][5]`.
@Terry-mi6fd
@Terry-mi6fd 6 жыл бұрын
I totally agree with you that part is just no make any sense and for the for loop it should be j
@the.bones.of.what.you.believe
@the.bones.of.what.you.believe 10 жыл бұрын
Just finished watching and I don't think where else I would find such an in depth tutorial in only an hour! Been doing programming for about 6 months now, starting with Python, then PHP and JS and finally Ruby - really thought I would stick to dynamic scripting languages and I feared going into languages like Java or C. Then, someone told me if I don't want to learn C, I could try C++ or C#, since they're easier to learn than plain C, so that's why I ended up here. Thank you for this amazing tutorial! C: (hehe, get it - it's a smile that contains a C because C++? Yeah no, I'm bad at puns.)
@derekbanas
@derekbanas 10 жыл бұрын
TuxxedoCat Thank you :) I'm glad you enjoyed the video. I personally agree that you can skip C and go directly to C++. Once you understand how OOP languages work you'll find that they are easier to deal with with complex apps.
@xCodxCreative
@xCodxCreative 10 жыл бұрын
Hey man, that pun was amazing. I'm going to be honest though, I didn't notice it until you pointed it out. But in this case you should of put this lol, "Thank you for this amazing tutorial! C++:")
@JuanGarcia-zy8yw
@JuanGarcia-zy8yw 8 жыл бұрын
if you wanna learn c++ i recommend reading a book. you can learn how to use arrays etc... by watching videos but c++ is a very technical language. where the important thing is implementation, especially the area of resource management is imperative to understand techniques such as RAII. for beginners a good place to start with is reading starting out with c++ from control structure through objects. that is the best book for beginners . and it goes as far as working with trees. when you are more advanced. not just in terms of coding but theoretically as well. read any of bjarne books. that book alone will keep you pre-occupied for a while. and another series of books that is amazing, but more concise than bjarne's books. is the series of c++ books written by scott mayers.
@PatrickStarthnxroxrock
@PatrickStarthnxroxrock 8 жыл бұрын
You sound so fucking smart dude like I didn't even understand half of what you wrote.
@themindflayer5952
@themindflayer5952 8 жыл бұрын
lol
@DarkSabrewulf123602
@DarkSabrewulf123602 8 жыл бұрын
i have saw a video stating C and C++ are two completely different things people get confused about thinking they are the same so idk how i feel about starting on C i want to create video games and everyone tells me to learn C++
@DarkSabrewulf123602
@DarkSabrewulf123602 8 жыл бұрын
Gort Newton Hey man i have never looked into any dev forums before, they have so many answers i would have looked onto youtube for instead. Big THANKS for the tip!
@bearwater8747
@bearwater8747 8 жыл бұрын
false. in unity you use c# to code your video game in and in unreal engine you use c++
@athreyahp2602
@athreyahp2602 2 жыл бұрын
I have an exam on C++ today. If I hadn't found your video yesterday, I wouldn't have taken the exam today. Thanks a lot man........massive respect for your patience to create this video.
@lillybarties2586
@lillybarties2586 6 жыл бұрын
I recommend this video to computer science students who don’t understand c++ at all yet they have been trying to
@cybernetic2024
@cybernetic2024 8 жыл бұрын
hey dude, nice video to watch while cooking 😀
@derekbanas
@derekbanas 8 жыл бұрын
Thank you :) I watch videos when I cook all of the time
@kiiikoooPT
@kiiikoooPT 8 жыл бұрын
I guess you wont see much of the video or you will burn all the food...
@wildblade64
@wildblade64 8 жыл бұрын
watched the whole video hoping to refresh for my computer science class. thanks a bunch msn
@derekbanas
@derekbanas 8 жыл бұрын
I'm happy it helped :)
@liorsasson8478
@liorsasson8478 6 жыл бұрын
I switched from C to C++ and this video was just right. I think that for anyone that's familiar with basic programming, this video is also great, except for pointers, that was a bit fast. As other comments suggest, it's not for new programmers. But as for me- it was brilliant!!! Precise and to the point. Thank you.
@derekbanas
@derekbanas 6 жыл бұрын
Thank you very much :)
@epicswirl
@epicswirl 6 жыл бұрын
Super easy to move from java to c++ before classes start to get ahead!
@RahulRana1
@RahulRana1 6 жыл бұрын
Prepping for an interview assessment so I watched the whole vid. Pretty good overall review of the language. Thanks!
@sierramartin3198
@sierramartin3198 4 жыл бұрын
Did you get the job??
@mqrxhe
@mqrxhe 7 жыл бұрын
I watched the entire thing. Coming from Java, this was really helpful! Thank you for making this tutorial
@minanaji9597
@minanaji9597 4 жыл бұрын
Watched the whole video in one sitting! Just for you to know we appreciate what you're doing for us.
@AlaskafishStudios
@AlaskafishStudios 10 жыл бұрын
You really need to explain more. I kept on asking "Why?" and "Why?". You only say "We're going to do this." Not "We're going to do this *because* ....." Why are we writing "#include
@derekbanas
@derekbanas 10 жыл бұрын
Alaskafish I'm sorry, but this tutorial is meant for people with programming experience in another language. If you are starting out in programming check out a Python tutorial. C++ is a terrible first language.
@mzz886
@mzz886 10 жыл бұрын
iostream is short for input output stream without it you cant use cout or cin commands, if you dont know what int main() is then you probably should learn python first
@Prrocess
@Prrocess 10 жыл бұрын
I imagine you might be taking an intro to programming course or basic computer science course that starts you off in C++. Like Derek said, this can be difficult for some people. I would recommend getting a foundation for understanding some of the concepts of high level programming from sites like codecademy.com. You'll pick up a lot of general knowledge that you can apply elsewhere.
@jeffpark4136
@jeffpark4136 10 жыл бұрын
Check out KnowledgeHighway. He does c++ tuts that are really good.
@DerickZ28
@DerickZ28 10 жыл бұрын
Derek Banas I'm attending columbia college and my first programming classes visual basic and java and now I'm in my third c++ class. I don't think they teach python at least I haven't seen the class in the list. We're working with linked lists this week, yikes!! lol good video btw.
@Sparecash
@Sparecash 10 жыл бұрын
I watched the whole video. You simply cant teach c++ in 70 minutes. The things that make c++ stick out form other languages are fine details that you need to spend time studying and understanding. But, I think this video covers basic programming in c++ very very well. I don't think this video was made with the intention of making you a senior c++ developer (I have more respect for Derek than to say that), this is made to teach you how to program in c++. with the knowledge in this video you can make most algorithms and simple programs. This video is what you want if your a [insert language name here] developer and want to branch out to c++. I highly recommend this video.
@derekbanas
@derekbanas 10 жыл бұрын
Billy Clay Yes you are absolutely correct. It is for current programmers that want to see the syntax differences between C++ and a current language that they know. I have covered algorithms for Java already and plan to do the same for C++ ASAP :)
@Sparecash
@Sparecash 10 жыл бұрын
Derek Banas Can't wait! Keep up the good work!
@jstar3943
@jstar3943 5 жыл бұрын
Thanks for the tutorial! Just needed a quick refresher as I haven't worked with C++ in some time. You are very concise and accurate. Thanks again
@derekbanas
@derekbanas 5 жыл бұрын
Thank you :) Happy I could help
@loadingninjavods4648
@loadingninjavods4648 4 жыл бұрын
I absolutely love this video. I have been coding in java for years and want to learn C++ now and with this video, I don't have to sit through 2 hours of what a variable is, I just get a quick demonstration of everything going on that I need to know to get started. Thank you so much for this video
@derekbanas
@derekbanas 4 жыл бұрын
Thank you for taking the time to tell me it helped :)
@peterswift3612
@peterswift3612 7 жыл бұрын
I did watch the entire thing, over the period of 3 days.
@derekbanas
@derekbanas 7 жыл бұрын
It is best to take your time :)
@iambugking
@iambugking 8 жыл бұрын
Euler is pronounced "oiler".
@iambugking
@iambugking 8 жыл бұрын
Aaron Vargas Nah. While neither is excellent french, "oiler" is closer.
@jeffmerlin2580
@jeffmerlin2580 8 жыл бұрын
English speaking people say "Crete" when in Greek it is pronounced "Kriti" or "Rhodes" when the Greek pronunciation is more like "Rodos" (IPA: roðos). Why do you have to get the french pronunciation correct for Euler? :-) Because it is a name of a person? Like Pyotr Tchaikovsky? :-D It's called "anglicisation".
@iambugking
@iambugking 8 жыл бұрын
***** Might as well try your best?
@jeffmerlin2580
@jeffmerlin2580 8 жыл бұрын
+The Nature of Reality If your native language is English? I doubt that. And that applies to others as well. French people pronounce named in a french way, German people in a german way and so on. The name "Eugene" (first name) is not pronounced "oigene" in USA for example. We have to accept that some people say "Florence" when they're talking about the Italian city "Firenze". For the record: My native language is not English. And I pronounce Euler like it should be pronounced (and you suggested). :)
@DreadDoom
@DreadDoom 8 жыл бұрын
+Jeff Merlin You're confusing different languages with pronunciation. We don't say "Firenze" because that's the _Italian name_ for it. If you were to say "Firenze" instead of "Florence" you would pronounce it just like the Italians do, because that's how you pronounce it. It's the same with people's names and "special" characters like *Å, Ä, Ö, ß*. Just because *ß* looks like a *B* doesn't mean that you pronounce it like a *B*.
@matejbasic7770
@matejbasic7770 10 жыл бұрын
You are going a bit fast but that's the beauty of youtube videos - I can watch them as many times as I want :) Great explanation of polymorphism and virtual functions and all of that. Are you thinking about making these about C#?
@derekbanas
@derekbanas 10 жыл бұрын
Matej Bašić Thank you for the compliment :) Yes a C# tutorial is in the works. I'm working on my game tutorial right now.
@matejbasic7770
@matejbasic7770 10 жыл бұрын
Derek Banas Great! Appreciate your work very much. I can see how much you put yourself into these tutorials. It's simply beautiful. Do you have a degree in Computer science or something like that?
@derekbanas
@derekbanas 10 жыл бұрын
Matej Bašić Thank you :) I went to school for electrical engineering, but I've basically been programming for the last 30 years.
@beatrax8006
@beatrax8006 6 жыл бұрын
You just covered 2 years of my syllabus in 1 hour. Genius!🔥
@kishorsonawane5990
@kishorsonawane5990 6 жыл бұрын
Get this guy a 50M subs
@lilpoopiebuthole3037
@lilpoopiebuthole3037 5 жыл бұрын
YES
@TechdubberStudios
@TechdubberStudios 8 жыл бұрын
top most important things to understand from this video: Max is an animal.
@soko45
@soko45 8 жыл бұрын
Great video, but it requires prior knowledge to follow it.
@derekbanas
@derekbanas 8 жыл бұрын
Thank you :) Yes you must know another language well before using this to learn C++
@soko45
@soko45 8 жыл бұрын
It was very informative, since I come from C#/Java/Vb and I am now getting into hardware developement and pure asm is quite hard. Do you have a video online where you explain templates for example? didnt find one yet
@derekbanas
@derekbanas 8 жыл бұрын
Sorry I haven't covered templates yet. I'm planning a big C++ tutorial
@soko45
@soko45 8 жыл бұрын
looking forward to this. Keep up the great work.
@Andreas-gh6is
@Andreas-gh6is 8 жыл бұрын
There are so many Video tutorials out there starting from zero programming knowledge, and I can't bear them. this is perfect.
@鄭維愷
@鄭維愷 6 жыл бұрын
The OOP parts are really really amazing! Love your tutorials so much.
@derekbanas
@derekbanas 6 жыл бұрын
Thank you very much :)
@chrismoles8113
@chrismoles8113 8 жыл бұрын
Watched the whole thing....You know what? It took 2 semesters (I forget how many dollars that cost) to learn what I learned here in 110 minutes!
@shivarampersaud2332
@shivarampersaud2332 8 жыл бұрын
It's 70 minutes, not 110😂😂😂
@chrismoles8113
@chrismoles8113 8 жыл бұрын
oops
@chrismoles8113
@chrismoles8113 8 жыл бұрын
Shiva Rampersaud Oh, yeah.....Opps, I'm used to the clock on my microwave. LOL
@ChandravijayAgrawal
@ChandravijayAgrawal 8 жыл бұрын
chris moles same happened to me
@markfawaz342
@markfawaz342 8 жыл бұрын
And then you wonder :)
@masterneme
@masterneme 6 жыл бұрын
I'm a complete C++ noob but for the last couple of years I've been using Unreal Engine's Visual Scripting system. So I came here to learn how to code and I have to say I could follow along and understand almost everything you showed. My mind was busy translating written code to a "visual" format though, which I found amusing. Anyway you did a great exposition, C++ is sexy AF.
@derekbanas
@derekbanas 6 жыл бұрын
That's cool :) I'm glad you liked it
@LeonardGreenpaw
@LeonardGreenpaw 9 жыл бұрын
Dog goes woof, cat goes meow BUT WHAT DOES THE FOX SAY?
@purabisit5206
@purabisit5206 9 жыл бұрын
Ring-ding-ding-ding-dingeringeding! Gering-ding-ding-ding-dingeringeding! Gering-ding-ding-ding-dingeringeding! Wa-pa-pa-pa-pa-pa-pow! Wa-pa-pa-pa-pa-pa-pow! Wa-pa-pa-pa-pa-pa-pow! Hatee-hatee-hatee-ho! Hatee-hatee-hatee-ho! Hatee-hatee-hatee-ho! Joff-tchoff-tchoffo-tchoffo-tchoff! Tchoff-tchoff-tchoffo-tchoffo-tchoff! Joff-tchoff-tchoffo-tchoffo-tchoff! Jacha-chacha-chacha-chow! Chacha-chacha-chacha-chow! Chacha-chacha-chacha-chow! Fraka-kaka-kaka-kaka-kow! Fraka-kaka-kaka-kaka-kow! Fraka-kaka-kaka-kaka-kow! A-hee-ahee ha-hee! A-hee-ahee ha-hee! A-hee-ahee ha-hee! A-oo-oo-oo-ooo! Woo-oo-oo-ooo!
@carbonx22020203
@carbonx22020203 9 жыл бұрын
+Leonard Greenpaw no
@imightshag
@imightshag 6 жыл бұрын
One of the best language intro videos that I've found. Nice work!
@vipe6578
@vipe6578 9 жыл бұрын
a tutorial to understad this video make speed on 0.25
@Budda2020
@Budda2020 9 жыл бұрын
+VIPE Set the speed on 2 and you will have a relief of how easy it is now!
@antonioklaic2740
@antonioklaic2740 9 жыл бұрын
+Budda90000 that sounds like those quick notifications at the end of medicine commercials.
@xyzzxyzee5478
@xyzzxyzee5478 7 жыл бұрын
this video is not meant for beginners!!! this video is only for people who have learnt c++ and want to revise it|
@sulemansaeed6782
@sulemansaeed6782 7 жыл бұрын
yes I want this kind of video
@JustDoIt-yh6uz
@JustDoIt-yh6uz 7 жыл бұрын
kzbin.info/www/bejne/hmWlZqhpgah5pNk check this its for beginners
@vossboss220
@vossboss220 7 жыл бұрын
thanks for the heads up
@mattshu
@mattshu 7 жыл бұрын
it's really for people who have a basic understanding of how programming works. A lot of languages boil down to the same principle. Once you understand principles, you can sort of see what's going on in any language
@loremipsum7513
@loremipsum7513 7 жыл бұрын
Yess, and this is the perfect video for me!
@fiandrhi
@fiandrhi 6 жыл бұрын
When he mispronounced Euler, I laughed and actually pushed my glasses up on my nose. : (
@zardingeorge7080
@zardingeorge7080 6 жыл бұрын
vectors: 27:47 Another example: vectorVariableName.insert(vectorVariableName.begin()+19,10,100); /* + for increment of vector size or intex, 19 is our index that gonna receive the data, 10 is for adding 10 to the size/index of vector, 100 is our data to be stored in the 19th intex * /
@AltahirAbdalla
@AltahirAbdalla 7 жыл бұрын
Watched the whole video. The video is great for those who want to review C++. Thanks
@derekbanas
@derekbanas 7 жыл бұрын
Thank you :) I'm glad you liked it
@mdrafidulislam5594
@mdrafidulislam5594 6 жыл бұрын
yes that's right
@robkim55
@robkim55 9 жыл бұрын
may we have installations pls
@jwri95
@jwri95 6 жыл бұрын
I watched it all as revision for my exam, very helpful for remembering syntax etc. Especially as I have 4 different modules I'm studying at the moment (all with different languages). The languages all seem to just blend into 1 thing after a while, which is not good obviously! lmao
@nathanaelsmith3553
@nathanaelsmith3553 4 жыл бұрын
Thanks Derek Banas. I got a C++ qualification 20 years ago and promptly forgot it all. This primer was perfect for resurrecting my forgotten knowledge.
@cigresyl3591
@cigresyl3591 9 жыл бұрын
why there's a sexualy tansmited disease in c++, and what does it have to do with namespace. I'm confused !?
@Anon.G
@Anon.G 9 жыл бұрын
Lol, I thought that at first too. Think it's for standard
@EpIcXMiNeRZz176
@EpIcXMiNeRZz176 9 жыл бұрын
+Sukalp Pathak well, your obviously not ready for it,and have no prior knowledge of programming ,if this video is "nonsense"
@fuckgoogle5664
@fuckgoogle5664 9 жыл бұрын
+Sukalp Pathak You are a fucking moron though.
@fuckgoogle5664
@fuckgoogle5664 9 жыл бұрын
***** Does that mean anything? Google translate can't even make sense of your nonsense.
@EchoV9
@EchoV9 9 жыл бұрын
+Sukalp Pathak www.reactiongifs.com/r/leowtf.gif
@ghostlyskull1741
@ghostlyskull1741 8 жыл бұрын
Are you able to create a 3d game using c++ with java incorporated?
@derekbanas
@derekbanas 8 жыл бұрын
If you want to make games check out C# and Unity
@ghostlyskull1741
@ghostlyskull1741 8 жыл бұрын
Derek Banas can c# and unity make 2d and 3d games as well?
@derekbanas
@derekbanas 8 жыл бұрын
Yes very well. C# was used with Xamarin to make Bastion and I'll cover Xamarin in the next few weeks
@ghostlyskull1741
@ghostlyskull1741 8 жыл бұрын
Thank you very much for replying. P.S love your work.
@rishikeshkumar2629
@rishikeshkumar2629 8 жыл бұрын
Derek Banas nk
@aidanlovelace2249
@aidanlovelace2249 7 жыл бұрын
I watched the entire video.
@derekbanas
@derekbanas 7 жыл бұрын
Thank you :)
@tkppowdyel911
@tkppowdyel911 6 жыл бұрын
// you'd watched entire video. cout
@skillerdz7145
@skillerdz7145 6 жыл бұрын
/* You Are Doing Your Video So fast */ #include #include using namespace std; int whyidontunderstand(){ char Reason = 'Becase You Are Doing your Video So Fast'; const double noteofvideo = 1; char GradeOfNotUnderstanding = 'A'; std::cout
@OrcinusDrake
@OrcinusDrake 6 жыл бұрын
Why not void?
@hightop1186
@hightop1186 6 жыл бұрын
Void not return a value.
@elchubacobra
@elchubacobra 7 жыл бұрын
I watched the entire thing. C++ being my second programming language i found this very easy to understand and feel like i have a fairly good understanding of the language now. There were a few things that were a little under explained but that is to be expected when covering so much in so little time. This video is excellent. Though, if you are new to programming this may be frustrating as it is incredibly fast paced and expects you to have at least a minor understanding of fundamental programming terms and ideas. But other than that, great video, thank you and keep up the great work!
@derekbanas
@derekbanas 7 жыл бұрын
Thank you very much :) I'm happy that you liked it
@NuevoVR
@NuevoVR 6 жыл бұрын
Learning syntax is easy, and learning all the rules for the syntax takes a bit of practice, but the hardest part is actually getting the program to do what you want it to... The theory...
@juliusseizure8857
@juliusseizure8857 5 жыл бұрын
27:04 Don’t mind me, I’m just leaving a timestamp of where I was.
@ShafenBadar
@ShafenBadar 5 жыл бұрын
That's a great Idea!
@luckyquest2005
@luckyquest2005 5 жыл бұрын
I’ll do that too 0:01
@mr.rabbit5642
@mr.rabbit5642 4 жыл бұрын
If you don't remember where you stopped watching, maybe you should start from the beginning? *HmmEmote* Good luck getting back into watching this after so long 😂
@arghya.7098
@arghya.7098 4 жыл бұрын
Great idea. I am also leaving my timestamp also. 30:18
@juliusseizure8857
@juliusseizure8857 4 жыл бұрын
Mr. Rabbit Finished it a long time ago, just never deleted the comment. 😀
@Traindriver321
@Traindriver321 9 жыл бұрын
Awesome video! Just one question, after learning everything in this video, how can I further my C++ knowledge? Is this all there is to C++?
@derekbanas
@derekbanas 9 жыл бұрын
+Harut Rehanyan Thank you :) This is the synatx or rules on how to do all the simple things with C++. It is like learning how to say a few thousand words in a spoken language. The next step is to focus on how to turn a problem into a programming solution. I made a tutorial called object oriented design. It is written in Java, but if you worked through it while translating from Java to C++ I think that would help you dramatically. Use the code here as a cheat sheet.
@Traindriver321
@Traindriver321 9 жыл бұрын
Derek Banas​ I don't know java, this video is basically all the programing I know. Should I learn java first then watch the video? If so, do you know any good places to learn java?
@derekbanas
@derekbanas 9 жыл бұрын
+Harut Rehanyan I have a ton of Java videos. Over 100. Yes Java is a better first language. Probably the best first language is Python.
@Traindriver321
@Traindriver321 9 жыл бұрын
Derek Banas​ Oh, alright... I guess I was wrong in getting into c++ first... Ok so ill start learning python ( im guessing you have videos on it) . Thanks for the awesome help! I cant tell you how much i appreciate it!
@fernandoluis53
@fernandoluis53 9 жыл бұрын
+Harut Rehanyan u can learn c++ from thenewboston channel on youtube
@MIbra96
@MIbra96 5 жыл бұрын
Thank you man! Watched the whole thing for a refresher before going into a somewhat advanced C++ course for which we already have to know the basics.
@doolee5704
@doolee5704 7 жыл бұрын
Back to wondering what I want to do in my life.
@derekbanas
@derekbanas 7 жыл бұрын
Do what makes you happy
@Music_Charts_coffee
@Music_Charts_coffee 6 жыл бұрын
Right this seems very complicating
@tkppowdyel911
@tkppowdyel911 6 жыл бұрын
Don't quit if it's b/c of this vdo lesson. Try other tut cuz he's going way fast.
@andrewdalcin3474
@andrewdalcin3474 5 жыл бұрын
I watched the whole thing! This is the best video on C++ I have ever seen :)
@derekbanas
@derekbanas 5 жыл бұрын
Thank you Happy to be of help :)
@predatortheme
@predatortheme 9 жыл бұрын
for everyone who knows C/C++ , watch it in double speed for the lulz of it
@ThatGuy-nv2wo
@ThatGuy-nv2wo 8 жыл бұрын
+Conex Xenon I'm learning and watched at 1.5x :P
@MrGoatflakes
@MrGoatflakes 8 жыл бұрын
+Conex Xenon I did that as a refresher, cause I haven't used C++ properly since the late 90s so I'm hopelessly behind on new features. Got to recursive functions then I feel asleep :D But this guy, he sure is understandable on 2x, unlike most people =P
@emperorfoohaha
@emperorfoohaha 6 жыл бұрын
I watched the whole thing! This was by far the most efficient "I know how to program but want to specifically learn C++" video I can imagine. Thanks you so much!
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) Those are the people I made this video for
@daktown
@daktown 6 жыл бұрын
this was fantastic review before my final thank you, i didn't know how to study but this helped so much
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) Best of luck on your final
@andreabtahi9519
@andreabtahi9519 6 жыл бұрын
Hey Derek, just wanted to let you know that I watched this video from start to end and it was very informative, insightful, refreshing, and moved at a great speed. I haven't learned about classes in class yet, but will be shown how to use classes soon, this was a great way to get ready for that. Along with that, this was a nice review session before my exam on Tuesday. Thank you for your efforts. Great work!
@jesusbannanahammock5767
@jesusbannanahammock5767 9 жыл бұрын
for 18:38 s my code keeps telling me that "rand" was not declared on this scope for the the first line after int main() {
@jesusbannanahammock5767
@jesusbannanahammock5767 9 жыл бұрын
+jesus bannanahammock ok so i just found a solution to this in which you might have to #include worked for me.
@derekbanas
@derekbanas 9 жыл бұрын
+jesus bannanahammock Double check your opening and closing brackets. Cut the code down to just the statements that use rand and it will be easier to find the error. I have a link to the working code in the description to help as well.
@jesusbannanahammock5767
@jesusbannanahammock5767 9 жыл бұрын
Derek Banas i checked every piece of whatever you typed and copied it. still, getting the same thing. according to the forums, for some c++ compilers, the #include is alreasdy included whereas not for others. im using code blocks c++ console application.
@jesusbannanahammock5767
@jesusbannanahammock5767 9 жыл бұрын
Derek Banas BTW thank you very much for replying to our concerns and great tutorial
@derekbanas
@derekbanas 9 жыл бұрын
+jesus bannanahammock I have heard that some people have trouble with Code Blocks. Maybe try Sublime Text because if Code Blocks is causing issues it will probably continue to. In this tutorial at the 1:30 mark I show how to install the C++ compiler you need kzbin.info/www/bejne/iarOqYqme9yAfdU
@TheJudeAustin
@TheJudeAustin 6 жыл бұрын
On a super legit note, I've read countless books, watched countless videos. This video, although fast, has helped me more than anything. It's to the point but you still understand what he is doing and he explains it without too much depth. I enjoy the video, thank you!
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) I'm happy that it helped
@frankmanzhu
@frankmanzhu 7 жыл бұрын
When you use new keyword, why you don't use delete after? Isn't that creat a memory leak?
@JiveDadson
@JiveDadson 7 жыл бұрын
Yes, it is a memory leak. Better yet, FAR better yet, do not use operator new at all. Operator new is for writing advanced stuff like custom allocators.
@dakehaste6196
@dakehaste6196 7 жыл бұрын
Hey I want to learn how to hack can you help
@dakehaste6196
@dakehaste6196 6 жыл бұрын
I have none help
@xeosseox4542
@xeosseox4542 9 жыл бұрын
20:51 couldn't you have just done this, int numberGuessed; cin >> numberGuessed; I ran and compiled it, it works.
@ev3rything533
@ev3rything533 9 жыл бұрын
Xeos Seox I do the same thing you do, and it works for me, its what I do
@liaquatali9706
@liaquatali9706 9 жыл бұрын
GamingBacon97 yeah i did the same but with the way he said in program i constanlty getting error that stoi was not declared +Xeos Seox
@willTryAgainTmrw
@willTryAgainTmrw 9 жыл бұрын
Liaquat Ali did u include string? #include
@purplespark8
@purplespark8 9 жыл бұрын
Pratham Singh Yes, neither 'stoi' nor 'stod' work for me either.
@jiiteduhub5259
@jiiteduhub5259 9 жыл бұрын
Danish These commands do not work in latest compiler such as codeblocks and all.
@RBRTGURR
@RBRTGURR 9 жыл бұрын
Can I use visual studios c++ 2015 for this video instead?
@derekbanas
@derekbanas 9 жыл бұрын
+robert guerra Yes
@RBRTGURR
@RBRTGURR 9 жыл бұрын
Wow that was a fast reply!!! Do I have to install any additional software?
@derekbanas
@derekbanas 9 жыл бұрын
+robert guerra No everything is in VS
@RBRTGURR
@RBRTGURR 9 жыл бұрын
+Derek Banas How do you open up the terminal when using VS 2015? Sorry for all the questions.
@omarradwan3855
@omarradwan3855 9 жыл бұрын
+robert guerra i'm using codeblocks
@TheTricir
@TheTricir 5 жыл бұрын
Whatched it whole. I found these "short" videos of yours good tool to use in order to remember everything i need before goin on an interview. Thanks for your work :)
@derekbanas
@derekbanas 5 жыл бұрын
Happy I could help :) Best of luck on your interviews
@ianturner2229
@ianturner2229 8 жыл бұрын
Great amount of information here.... BUT I personally believe that you went through some of it a bit too fast, leaving us old school RAW "C" programmers" gasping for breath. Example - When you got to polymorphism I got really lost, despite watching it several times. The concept was "sortta understandable" but the application lost me.... Please do some more showing how classes can inherit from super classes etc, so we "nerds" can understand how that works at a code level. Keep up the good work.....
6 жыл бұрын
This one made me remember Neo from The Matrix learning Kung Fu. I'm like "I know c++"!
@derekbanas
@derekbanas 6 жыл бұрын
That's funny :) I love that comparison
@vicweb1978
@vicweb1978 8 жыл бұрын
P.S. ... I think you've declared your multi-dimensional array wrongly. Unless I'm missing something you declared a 5 by 5 array, but you only needed a 2 by 5 array ... ?
@NazoXIII
@NazoXIII 8 жыл бұрын
+Vic Webster That's correct, that's why you can see the three extra lines when he iterates through them with the for loop.
@elizathais510
@elizathais510 6 жыл бұрын
DUDE! I LOVE YOU! Everywhere I looked ppl were saying that it would take a lifetime or at least like 6 months to learn C++ (when I only had one day hahahah) and you just saved my life! Thank you a lot! I'm super impressed with how you managed to show the big picture and all the main details in 1 hour hahah congrats! arrasou!
@derekbanas
@derekbanas 6 жыл бұрын
Thank you :) It is always nice to hear that I helped. Você é muito bem-vindo!
@milanpaudel9624
@milanpaudel9624 8 жыл бұрын
If you are new to C++, I mean very new. Dont watch this. This video is really awesome for revision. But, it only gonna make you frustrated if you are new to it. I freaked out before when i was watching it couple of years ago, Now when i know C++, watching it makes me feel refreshed since my mind is full of python now. conclusion = I really really really dont recommend this video for beginner. Go watch one with long explanation.
@derekbanas
@derekbanas 8 жыл бұрын
I agree it isn't for beginners to programming
@shontaia07
@shontaia07 8 жыл бұрын
coursera.org helps might be what your looking for
@Afro_Updates
@Afro_Updates 7 жыл бұрын
Can you send me a link on how to learn a phython ........ looking forward to hearing from you.
@Ghorda9
@Ghorda9 7 жыл бұрын
make mine sweeper in the debug window using characters to represent the grid, look up everything and anything you don't know and plan everything out on paper first.
@BlakeTWiley
@BlakeTWiley 7 жыл бұрын
I don't mean to be rude, but it seems maybe you could include that in the title. I spent 10 minutes trying my hardest to follow along.
you will never ask about pointers again after watching this video
8:03
Python Programming
43:16
Derek Banas
Рет қаралды 5 МЛН
Why does Angular need JavaScript's most unused primitive
9:59
Joshua Morony
Рет қаралды 2,2 М.
C++ Tutorial for Beginners - Learn C++ in 1 Hour
1:22:56
Programming with Mosh
Рет қаралды 4,5 МЛН
how Google writes gorgeous C++
7:40
Low Level
Рет қаралды 987 М.
Всё об указателях в C++ за 20 минут
20:00
C++ in 100 Seconds
2:46
Fireship
Рет қаралды 2,1 МЛН
Learn Any Programming Language In 3 Hours!
22:37
Code With Huw
Рет қаралды 628 М.
Should you learn C++?? | Prime Reacts
20:29
ThePrimeTime
Рет қаралды 418 М.
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 934 М.
Introduction to the C++ Programming Language
3:59:55
Dave Churchill
Рет қаралды 27 М.