logo

C++ Tutorial

Thumbnail
Install C++ & NetBeans
243K views • almost 7 years ago
Install on MacOS : https://youtu.be/DamuE8TM3xo?t=4m28s Minimalist GNU : https://sourceforge.net/projects/mingw/files/ NetBeans : https://netbeans.org https://www.patreon.com/derekbanas I asked everyone to tell me what tutorial they wanted and C++ won. In this tutorial I show you how to install C / C++ and NetBeans on both Windows and MacOS. I decided to use NetBeans because I think it is the best C++ IDE on every operating system.
Thumbnail
Setup Visual Studio Code Mac
166K views • almost 7 years ago
Get Code and Error Solutions : https://goo.gl/pwPXk4 Setup VS Code for Windows : https://youtu.be/kI5x9TEz3qk Visual Studio Code : https://code.visualstudio.com Arduino Kit : http://amzn.to/2tia5Ao https://www.patreon.com/derekbanas I received a bunch of requests on how to setup Visual Studio Code on MacOS and so I made a tutorial. I'll show how to install C / C++ and then cover how to get Visual Studio code to work as a great C++ and Arduino platform.
Thumbnail
Setup Visual Studio Code Windows
79K views • almost 7 years ago
Get Code and Error Solutions : https://goo.gl/xTPGru Setup VS Code for MacOS : https://youtu.be/SKV0npCFxFs Visual Studio Code : https://code.visualstudio.com Arduino Kit : http://amzn.to/2tia5Ao https://www.patreon.com/derekbanas In this tutorial I show how to install C++ and setup Visual Studio Code for C, C++ and Arduino development on Windows.
Thumbnail
C++ Tutorial
203K views • almost 7 years ago
Cheat Sheet / Transcript : https://goo.gl/jtjNvu Best C++ Book : http://amzn.to/2p3oZGf Install NetBeans : https://youtu.be/DamuE8TM3xo https://www.patreon.com/derekbanas MY UDEMY COURSES ARE 87.5% OFF TIL January 8th ($9.99) ➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_43 ➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_43 ➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial4 (100 Available) Here I will begin my large C++ tutorial that many people have been asking for. I decided to teach C++ through problem solving. This first video covers preprocessor directives, main, cout, if, terminal arguments, for, data types, variables, constants, printf, strings, getline, cin, conversions, and much more. This tutorial is light on problems, but for each forward I'll try to include at least 3 progressively complex problems for you to solve. I hope you enjoy it.
Thumbnail
C++ Tutorial 2 : Conditionals, Arrays, Vectors, Strings, Loops
87K views • almost 7 years ago
Transcript / Cheat Sheet : https://goo.gl/fvxQLy Best C++ Book : http://amzn.to/2HnKOqw Install NetBeans : https://youtu.be/DamuE8TM3xo https://www.patreon.com/derekbanas ►► Get my New C++ Programming Bootcamp Series for $9.99 ( Expires May 6th ) : http://bit.ly/NewCCourse ►► Over 20 Hrs + 52 Videos + Quizzes + Graded Assignments + New Videos Every Week I continue teaching C++ through problem solving. In this video I cover conditional operators, logical operators, if, else, arrays, vectors, converting strings into vectors, string stream, while loops, for loops and more. I'll also present 2 problems for you to solve, which I'll then provide the answer to. I think learning through doing is the best and the problems will keep getting more complex.
Thumbnail
C++ Tutorial 3 : Pointers & Functions
70K views • almost 7 years ago
Cheat Sheet / Transcript : https://goo.gl/nWDKfo Best C++ Book : http://amzn.to/2FKTOpc https://www.patreon.com/derekbanas ►► Get my New C++ Programming Bootcamp Series for $9.99 ( Expires May 6th ) : http://bit.ly/NewCCourse ►► Over 20 Hrs + 52 Videos + Quizzes + Graded Assignments + New Videos Every Week As we continue to learn C++ through problem solving we cover Functions, Pointers, Local Variables, how to create a range function and solve a bunch of problems. I hope you find using pointers to be a breeze after this tutorial. Please share your alternative problem solutions.
Thumbnail
C++ Tutorial 4 : Exception Handling & Looping
51K views • almost 7 years ago
Cheat Sheet : https://goo.gl/BvEE6C Best C++ Book : http://amzn.to/2IB3950 https://www.patreon.com/derekbanas In this tutorial I'll be covering While, Break, Continue, Exception Handling, Do While, Random Numbers and more complex problems for you to solve. The problems are starting to get more complex, but don't worry if you can't solve them. The goal is just to get better at solving problems, which only comes from practice.
Thumbnail
C++ Tutorial 5 : Strings & Math
31K views • over 6 years ago
Cheat Sheet : https://goo.gl/xD2YLo Best C++ Book : https://amzn.to/2IX5veu https://www.patreon.com/derekbanas In this part of my C++ tutorial we'll cover numerous ways to interact with Strings, numerous common Math functions and we'll solve a rather complex 2 part problem. The goal of this series is to teach the syntax of the C++ language while actually teaching how to solve problems using C++. Each tutorial includes increasingly more complex problems for you to solve.
Thumbnail
C++ Tutorial 6 : Solving Problems
50K views • over 6 years ago
Code / Transcript : https://goo.gl/W4mBif Best C++ Book : https://amzn.to/2GLPDNX https://www.patreon.com/derekbanas In this tutorial we'll solve 4 problems while learning some new tricks. We'll turn vectors into strings and vice versa. Then we'll trim whitespace, find all substring matches and then replace them. We'll finish up the tutorial with homework on how to create a Caesar Cipher function.
Thumbnail
C++ Tutorial 7 : Solving Problems
26K views • over 6 years ago
Get the Code : http://bit.ly/Cplus7 Best C++ Book : https://amzn.to/2Iof70Y https://www.patreon.com/derekbanas In this tutorial we continue solving problems with C++. We'll solve the Caesar Cipher, Solve Equations for X, Create Lists of Primes and Generate a List of Random Values in a Range. I'm making these videos to make you good at solving random problems rather then just covering language syntax. Don't worry if you get them wrong. The goal is to make you think in new ways.
Thumbnail
C++ Tutorial 8 : Recursion Algorithms & Overloaded Functions
25K views • over 6 years ago
Code & Transcript : http://bit.ly/cplusplus8 Best C++ Book : https://amzn.to/2uU38X5 https://www.patreon.com/derekbanas In this tutorial we continue learning not only the syntax of C++, but also how to solve problems using C++. We'll cover the BubbleSort, Recursion, Factorials, Fibonacci Numbers, Overloaded Functions and Work through many Problems.
Thumbnail
C++ Tutorial 9 : Lambda Expressions
57K views • over 6 years ago
Code & Transcript : http://bit.ly/cplusplus9 Best C++ Book : https://amzn.to/2GPb7do https://www.patreon.com/derekbanas This part of my C++ tutorial provides numerous examples of what you can do with Lambda Expressions. We'll cover how to Sort, Filter, Sum, Edit and Generate Lists based on conditions. We'll also perform operations on multiple lists, create Recursive Lambda Functions and cover the Ternary Operator.
Thumbnail
C++ Tutorial 10 : Object Oriented Programming
241K views • over 6 years ago
Code & Transcript : http://bit.ly/plusplus10 Subscribe to Me: http://bit.ly/2FWQZTx Best C++ Book : https://amzn.to/2JNlnk5 I'm finally covering Object Oriented Programming with C++! I cover classes, objects, public, private, protected, constructors, deconstructors, pointer operator, dot operator, getters, setters, super classes, inheritance, calling super class functions, overwriting functions, and much more. In the problem with this tutorial we will try to model a battle between the Hulk and Thor to the death. MY UDEMY COURSES ARE 87.5% OFF TIL January 31st ($9.99) ➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_45 ➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_45 ➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial6 (100 Available) Like the channel? Consider becoming a Patreon! Check it out here: ►► https://www.patreon.com/derekbanas *Watch More Learn in One Videos* ►► Java - https://youtu.be/n-xAqcBCws4 ►► C++ - https://youtu.be/Rub-JsjMhWY ►► Python - https://youtu.be/N4mEzFDjqtA ►► MySQL - https://youtu.be/yPu6qV5byu4 ►► PHP - https://youtu.be/7TF00hJI78Y ►► Kotlin - https://youtu.be/H_oGi8uuDpA ►► C# - https://youtu.be/lisiwUZJXqQ ►► JavaScript - https://youtu.be/fju9ii8YsGs
Thumbnail
C++ Tutorial 11 : Polymorphism
77K views • over 6 years ago
Code & Transcript : http://bit.ly/cplus11 Best C++ Book : https://amzn.to/2F7Kmv5 https://www.patreon.com/derekbanas ►► Get my New C++ Programming Bootcamp Series for $9.99 ( Expires May 6th ) : http://bit.ly/NewCCourse ►► Over 20 Hrs + 52 Videos + Quizzes + Graded Assignments + New Videos Every Week We cover a lot in this tutorial. We cover Polymorphism, Structs, Friend Classes, Abstract Classes, Override, Final, Virtual and much more.
Thumbnail
C++ Tutorial 12 : Operator Overloading & File I/O
35K views • over 6 years ago
Code & Transcript : http://bit.ly/cplus12 Best C++ Book : https://amzn.to/2r0GoiP https://www.patreon.com/derekbanas In this part of my C++ tutorial we'll cover Operator Overloading, File I/O and will present you with another problem to solve. We'll learn to use unary and Binary operators. Then we'll write and read from files.
Thumbnail
C++ Tutorial 13 : Advanced Functions
68K views • over 6 years ago
Code & Transcript : http://bit.ly/cplus13 Best C++ Book : https://amzn.to/2KpDyfZ https://www.patreon.com/derekbanas MY UDEMY COURSES ARE 87.5% OFF TIL February 13th ($9.99) One is FREE ➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_46 ➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_46 ➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial7 (100 Available) In this tutorial we explore advanced uses of functions using C++. We'll cover how to store functions as variables, pass functions into other functions, store functions in a vector and more. Then we'll solve 2 problems. We'll receive lists of numbers and then return a list of only the odd values. We'll then generate random lists of heads and tails and add up how often each occurs.
Thumbnail
C++ Tutorial 14 : Templates & Iterators
75K views • over 6 years ago
Get the Code : http://bit.ly/cplus14 Best C++ Book : https://amzn.to/2IhrlvW https://www.patreon.com/derekbanas In this tutorial I cover many topics many people have asked for. I show how to include outside files, Preprocessor Directives, Macro Constants, Macro Functions, Template Functions, Template Classes, and Iterators.
Thumbnail
C++ Tutorial 15 : Smart Pointers & Polymorphic Templates
38K views • over 6 years ago
Get the Code : http://bit.ly/cplus15 Best C++ Book : https://amzn.to/2rBqOKC https://www.patreon.com/derekbanas In this part of my C++ tutorial I will answer a bunch of questions I have received. I'll talk about allocating memory with malloc(), Smart Pointers, Regular Pointers, Deallocating Memory, unique_ptr, Difference Between /n and endl, Polymorphic Templates and a whole bunch more.
Thumbnail
C++ Tutorial 16 : C++ Threads
111K views • over 6 years ago
Get the Code : http://bit.ly/cplus16 Best C++ Book : https://amzn.to/2L36g71 https://www.patreon.com/derekbanas MY UDEMY COURSES ARE 87.5% OFF TIL January 31st ($9.99) ➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_45 ➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_45 ➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial6 (100 Available) In this part of my C++ Tutorial I'll be focusing on Threads. We'll cover how to create, pause, and pool threads. We will then compare how long it takes to generate a list of prime numbers with and without threads. Also we'll check out many ways of working with time.
Thumbnail
C++ Tutorial 17 : Sequence Containers
25K views • over 6 years ago
Get the Code for Free : http://bit.ly/plusplus17 Best C++ Book : https://amzn.to/2rXATC9 https://www.patreon.com/derekbanas In this part of my C++ tutorial I'll cover Sequence Containers which contain data that is stored in order. Previously I covered Vectors and will now cover Deques, Lists and Forward Lists. I'm getting near the end of my core coverage of C++. Once I finish I will then move on to GUI development, Algorithms and all the other things that have been requested.
Thumbnail
C++ Tutorial 18 : Associative Containers & Container Adapters
24K views • over 6 years ago
The Code : http://bit.ly/cplus18 Best C++ Book : https://amzn.to/2LwT2iT https://www.patreon.com/derekbanas In this tutorial I'll cover the Associative Containers, Set, Multiset, Map, and Multimap. I'll also cover the Container Adapters : Stacks, Queues, and Priority Queues. And, finally we'll explore enums.
Thumbnail
C++ Tutorial 19 : C++ Regular Expressions
84K views • over 6 years ago
Get the Code : http://bit.ly/cplus19 Best C++ Book : https://amzn.to/2LPXBoJ https://www.patreon.com/derekbanas In this part of my C++ tutorial I'll start covering Regular Expressions. There are tons of examples and a problem for you to solve. I'll cover how to search and then cycle through matches. We'll look into cycling through matches with an iterator. Then we'll create numerous regular expressions to get just that exact data we need and output or replace it.
Thumbnail
C++ Tutorial 20 : C++ Regex 2
14K views • over 6 years ago
Get the Code : http://bit.ly/cpp20 Best C++ Book : https://amzn.to/2Jwp2FR https://www.patreon.com/derekbanas In this part of my C++ tutorial I continue showing tons of examples about regular expressions. If you missed the 1st part watch it first. This time I'll show more ways to match what you are trying to grab. We'll also talk about Greedy vs. Lazy matching, Boundaries, and grabbing multiple subexpressions. This tutorial also contains 2 problems for you to solve.
Thumbnail
C++ Tutorial 21 : C++ Regex 3
16K views • over 6 years ago
Get the Code : http://bit.ly/cplusplus21 Best C++ Book : https://amzn.to/2LzEIFL https://www.patreon.com/derekbanas In this part of my C++ tutorial I finish covering C++ with Regular Expressions. This time I'll cover Back References, Substitutions, Look Ahead, Or Conditionals and 3 problems for you to solve.
Thumbnail
Qt Tutorial : C++ Notepad App
447K views • over 6 years ago
Code & Icons Here : http://bit.ly/qttut Subscribe to Me: http://bit.ly/2FWQZTx Best Qt5 Book : https://amzn.to/2Mg4LC9 I thought it would be fun to make a real app in this Qt Tutorial, so I made a working Notepad app. We'll install Qt for Windows and MacOS. Then we'll cover Qt Basics, Dialogs, Widgets, Drag and Drop Interfaces, Creating / Opening / Saving Files, Menus, Toolbars, Icons, Printing, and much more. Qt is an amazing framework for creating cross platform C++ GUI applications. MY UDEMY COURSES ARE 87.5% OFF TIL February 13th ($9.99) One is FREE ➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_46 ➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_46 ➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial7 (100 Available) Like the channel? Consider becoming a Patreon! Check it out here: ►► https://www.patreon.com/derekbanas *Watch More Learn in One Videos* ►► Java - https://youtu.be/n-xAqcBCws4 ►► C++ - https://youtu.be/Rub-JsjMhWY ►► Python - https://youtu.be/N4mEzFDjqtA ►► MySQL - https://youtu.be/yPu6qV5byu4 ►► PHP - https://youtu.be/7TF00hJI78Y ►► Kotlin - https://youtu.be/H_oGi8uuDpA ►► C# - https://youtu.be/lisiwUZJXqQ ►► JavaScript - https://youtu.be/fju9ii8YsGs
Thumbnail
Qt Tutorial 2 : C++ Calculator
170K views • over 6 years ago
Get the Code : http://bit.ly/qt-tut2 Best Qt Book : https://amzn.to/2KvFTsQ https://www.patreon.com/derekbanas MY UDEMY COURSES ARE 87.5% OFF TIL January 16th ($9.99) One is FREE ➡️ Python Data Science Series for $9.99 : Highest Rated & Largest Python Udemy Course + 56 Hrs + 200 Videos + Data Science https://bit.ly/Master_Python_44 ➡️ C++ Programming Bootcamp Series for $9.99 : Over 23 Hrs + 53 Videos + Quizzes + Graded Assignments + New Videos Every Month https://bit.ly/C_Course_44 ➡️ FREE 15 hour Golang Course!!! : https://bit.ly/go-tutorial5 (100 Available) The most requested next C++ app you guys asked for was a calculator, so here it is. We'll make a C++ GUI Calculator app in one video. Along the way we'll learn a lot! We'll cover a topic which confuses many people which is how to setup event handling with Signals and Slots. We'll also cover how to work with widgets in many ways, setting up an interface, stylesheets, casting, regular expressions and much more. Brought to you thanks to contributions from my Patreon subscribers such as https://perl6.org/
Thumbnail
Qt Tutorial 3 : Qt Charts
70K views • over 6 years ago
Code from the Video : http://bit.ly/qttut3 https://www.patreon.com/derekbanas In this part of my Qt Video Tutorial I'll cover how to make numerous charts. We'll make two types of Bar Charts along with Pie and Line. I'll also cover numerous attributes associated with Qt charts. Brought to you thanks to contributions from my Patreon subscribers such as https://perl6.org/
Thumbnail
Qt Tutorial 4 : C++ Paint App
49K views • over 6 years ago
Get the Code : http://bit.ly/qt-tut4 Best Qt Book : https://amzn.to/2uJ5UeY https://www.patreon.com/derekbanas Original Tut : http://bit.ly/qtscrib I received a bunch of questions about the Qt Paint App Example, so I decided to do a tutorial in which I explain every line of code. This paint app allows for opening, saving and printing images. You can also draw on the screen using different colors and pen widths. The are a bunch of dialogs covered as well along with numerous other topics. Brought to you thanks to contributions from my Patreon subscribers such as https://perl6.org/
Thumbnail
Qt Tutorial 5 : Finish Paint App
39K views • over 6 years ago
Get the Code : http://bit.ly/qt-tut5 Best Qt Book : https://amzn.to/2uJ5UeY https://www.patreon.com/derekbanas Original Tut : http://bit.ly/qtscrib In this video I finish the Qt Paint app. So many topics are covered. We make menu bars, numerous dialog boxes, interact in numerous ways, allow for drawing, changing colors, changing line widths, printing, saving and opening new files. Brought to you thanks to contributions from my Patreon subscribers such as https://perl6.org/