C++ Programming

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
Well Hello... Internet and welcome to my C++ programming tutorial In this tutorial I'm gonna teach the entire C++ programming language in one video In the description underneath the video you can see links to all the individual parts That should help you get to what exactly you want And I'm not gonna waste any time covering installation If you guys want me to cover that just leave a comment down below and I'll do that later So, I have a lot to do, so let's get into it OK, so, what I have here on the left side of the screen is a basic text editor what I have here on the right side of the screen is a terminal Everything is going to be exactly the same as long as you use C++ to compile your programs No matter if you're on Mac, Windows or on a Linux operating system The very first thing we're going to do here is cover comments "This is a comment" Just like many other languages you can create a comment just by putting two dashes and then whatever you want and if you want a multi-line comment you can just type in "multi-line" and then close that off though there is commenting in C++, first thing we're going to do here is include some outside libraries I'm going to have some functions that we're going to want to use so this one is going to allow us to use a function called cout and a whole bunch of other different things you're going to see here in a second That'll be used for vectors This will be used for strings And then this will be used for file i/o Now, all of your code is going to be contained inside of a main function, like this and then you're going to have a curly bracket; and then you have a closing curly bracket. Now, inside of here, you could call the function cout Either using "cout" or "std::cout", like this. What I want to do is get rid of this part, and how I get rid of that is right after the include statements I'm going to type in "using namespace std;" and that's going to keep me from typing that out every single time now if you want to do a basic hello world type of statement here all we gonna have to do is type in "hello world" using cout which outputs the text what you have here and a carriage return whenever you wanna type in the same brackets you see right there and "endl;"
Info
Channel: Derek Banas
Views: 4,562,929
Rating: 4.877759 out of 5
Keywords: C++ Programming, C++ Tutorial, C++ Video Tutorial, C (Programming Language), Programming Language (Software Genre)
Id: Rub-JsjMhWY
Channel Id: undefined
Length: 70min 33sec (4233 seconds)
Published: Thu Nov 20 2014
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.