Ferrabacus
Ferrabacus
  • 24
  • 153 179
How to Setup C++ on Windows and use VS Code
How to setup C++ on Windows using MinGW through MSYS2, then successfully compile your program on visual studio code.
0:00 Introduction
1:22 Best C++ Installing Instructions
2:38 Setup MSYS2
7:16 Setup VS Code Extensions
8:31 Continue Setting Up MSYS2
9:42 Fast Forwarding through MSYS2 Installation
11:00 Adding MSYS2 to PATH
13:17 Testing G++
Переглядів: 2 104

Відео

C++ Wav Audio Programming From Scratch - 4.2 - Mini Lab
Переглядів 42 тис.3 роки тому
How to program a basic wav audio file in c from scratch!
C++ Image Programming From Scratch - 4.1
Переглядів 59 тис.3 роки тому
How to make a simple PPM image in C . How to add filters to PPM pictures in C . Here are some test p3 images you can use with this! github.com/ferrabacus/p3images
FileIO (Input/Output) in C++ - #3.6
Переглядів 3,3 тис.3 роки тому
How to use ifstream, ofstream, fstream to read and write to files in c
Vectors, Maps, C Structs in C++ - 3.5
Переглядів 6 тис.3 роки тому
How to create and use Vectors. How to create and use Maps. How to use C structs.
Classes in C++ Part II - Encapsulation, Static, Pointers - 3.4
Переглядів 1,4 тис.3 роки тому
C classes part II. I cover encapsulation, static variables and static functions, class pointers, and UML Diagrams! 0:00 Introduction 0:21 What You'll Learn 1:19 Static Keyword 5:10 Live Code - Static Keyword 12:13 Encapsulation 16:28 Live Code - Encapsulation 31:54 Class Pointers 34:49 Live Code - Class Pointers 44:36 UML Diagrams 47:42 Quick Code - Student Class Updates
Header Files & Multi File Programming in C++ - 3.3
Переглядів 4,3 тис.3 роки тому
How to use header files, the preprocessor and multiple files in c programming. 0:00 Introduction 0:34 What You'll Learn 1:37 The Problem - Why We Need Multi Files 5:30 Preprocessor & Directives 9:32 Live Code - Preprocessor & Directives 12:25 Header Files & Preprocessor 17:42 Live Code - Header Files & Preprocessor 23:02 Multi File Program 25:10 Live Code - Multi File Program 30:48 Multi File P...
Classes in C++ Part I - 3.2
Переглядів 1,2 тис.3 роки тому
How to make basic classes and objects in C . This includes constructors, deconstructors, overloading, etc. 0:00 Introduction 0:38 What You'll Learn 2:00 The Problem - Why We Need Classes 3:24 You've Already Been Using Classes 5:38 Basic Class/Object Example 10:10 Live Code - Class/Object Example 16:00 Constructors & Overloading 19:18 Live Code - Constructor/Overloading Example 23:00 Destructors...
Pointers in C++ - 3.1
Переглядів 1,6 тис.3 роки тому
How to make pointers in c . How to make dynamic memory pointers in c . 0:00 Introduction & What You'll Learn 2:00 Why We Need Pointers 3:39 What is a Reference/Pointer? 5:01 How To Make/Use Them 8:16 Complicated C 11:03 Pointers Live Code 21:44 Pointer Pitfalls & Errors 24:09 Heap v. Stack Memory 27:13 Dynamic Memory with Pointers 29:51 Dynamic Memory Live Code 33:25 Other Types of Pointers 34:...
C Arrays in C++ - 2.5
Переглядів 6393 роки тому
C Arrays in C How to initialize c arrays in C . 0:00 Introduction 0:36 Why We Need Arrays 1:34 Array Initialization 4:46 Array Printing 5:29 Array Index Warning 6:24 Array Basics Live Code 8:45 Arrays as Args/Params 12:26 Array Size 14:16 Array Args Live Code 20:58 Multidimensional Arrays 22:11 C Arrays Conversation 23:35 Quick Code Instruction 24:57 Quick Code Example
Parameters, Arguments, and Returns in C++
Переглядів 6163 роки тому
How to list parameters in C How to send arguments in C How to return data in C How to overload methods in C . 0:00 Function Scope 1:15 Parameters/Arguments 2:53 Pass by Value 3:58 Live Code Example 9:03 Returns 12:00 Live Code Example 19:09 Function Overloading 20:05 Live Code Example 22:45 Quick Code Instructions 26:04 Quick Code Example
While Loops & String Manipulation in C++ - 2.3
Переглядів 5 тис.3 роки тому
How to use the three types of while loops (flag controlled, sentinel, and count controlled). How to use the string functions length and find. How to work with string indexes. How to use the c built-in functions toupper, tolower, isupper, islower. Chapters 0:00 Introduction 0:10 Types of While Loops 4:30 While Loop Live Code 8:25 String Indexes, Functions, and getline() 14:10 String Live Code 20...
How To Use A For Loop in C++ - 2.2
Переглядів 4663 роки тому
How to use a For Loop in C
How To Make Void Functions in C++ - 2.1
Переглядів 4,1 тис.3 роки тому
How to declare and define functions in c .
How To Generate Random Numbers in C++
Переглядів 8 тис.3 роки тому
How to generate random numbers in C using the following functions: srand, time, and rand.
Choose Your Own Adventure (Text Based) Lab #1 in C++
Переглядів 3,8 тис.3 роки тому
Choose Your Own Adventure (Text Based) Lab #1 in C
Math & Logical Operators in C++ - 1.6
Переглядів 6573 роки тому
Math & Logical Operators in C - 1.6
Casting and Basic Strings in C++ - 1.5
Переглядів 6653 роки тому
Casting and Basic Strings in C - 1.5
Arithmetic Operators and Precedence in C++ - 1.4
Переглядів 1,2 тис.3 роки тому
Arithmetic Operators and Precedence in C - 1.4
User Inputs & If Statements in C++ - 1.3
Переглядів 2,5 тис.3 роки тому
User Inputs & If Statements in C - 1.3
Primitive Data Types & Variables in C++ - 1.2
Переглядів 3,3 тис.3 роки тому
Primitive Data Types & Variables in C - 1.2
Java - 5.1 - Example II - Printing Arrays
Переглядів 1015 років тому
Java - 5.1 - Example II - Printing Arrays
Java - 5.1 - Example I - Create & Fill An Array
Переглядів 2735 років тому
Java - 5.1 - Example I - Create & Fill An Array
Python Arcade Simple Game Demo
Переглядів 4956 років тому
Python Arcade Simple Game Demo

КОМЕНТАРІ

  • @justcurious1940
    @justcurious1940 3 дні тому

    Interesting content, amazing channel, cool teacher, I can watch u the whole day, God bless u and bless America for creating this beautiful world that is called the internet.

  • @justcurious1940
    @justcurious1940 7 днів тому

    Great teacher, Thanks.

  • @marcusantenor793
    @marcusantenor793 15 днів тому

    can you help explain why the input validation doesn't work inside the createArr function, please? #include <iostream> using namespace std; string* createArr(unsigned int arrSize); void displayArr(unsigned int arrSize); string* createArr(unsigned int arrSize) { string* newArr = new string[arrSize]; for(unsigned int i{0}; i < arrSize; i++) { string name{}; cout << "Please enter item (" << i + 1<<"): "; if(cin >> name) //can't get it to work so far { newArr[i] = name; } else{ cin.clear(); cin.ignore(10000, ' '); } } return newArr; } void displayArr(string* arr, unsigned int arrSize) { for(unsigned int i{0}; i < arrSize; i++) { cout << arr[i] << endl; } } int main() { string* arrNames = nullptr; cout << "Enter the size of the array: "; unsigned int arrSize; if(!(cin >> arrSize)){ cin.clear(); cin.ignore(10000,' '); cout<<"Incorrect imput. PLease try again!"; } arrNames = createArr(arrSize); displayArr(arrNames, arrSize); delete [] arrNames; arrNames = NULL; return 0; }

  • @marcusantenor793
    @marcusantenor793 15 днів тому

    27:14 I think when you typed fullname += " " + lname, the compiler read fullname = fullname + " " + lname. That's why it worked on your pc, maybe?

  • @Brotherblitz
    @Brotherblitz 22 дні тому

    little men are my fren

  • @sbarncar
    @sbarncar 27 днів тому

    OK OK OK OK OK OK

  • @marcusantenor793
    @marcusantenor793 Місяць тому

    1:39 correction: "C/C++ and Java are *statically* typed languages*"?

  • @codimantion
    @codimantion 2 місяці тому

    keep making these type of low level programming videos i am intrested 😊😊

  • @maximdanilov6562
    @maximdanilov6562 3 місяці тому

    Thanks for the video, it was really helpful!😊

  • @kinhkong69z62
    @kinhkong69z62 3 місяці тому

    men this good thanks

  • @yunestaku50
    @yunestaku50 4 місяці тому

    Thank you so much

  • @gacrux6681
    @gacrux6681 4 місяці тому

    Can we record audio using this?

  • @numero17100
    @numero17100 4 місяці тому

    Great video, is there a method to move through the file like a vector?

  • @vanessaadams3500
    @vanessaadams3500 4 місяці тому

    This is one of the best videos on this subject that I have found so far!

  • @nkumar8174
    @nkumar8174 5 місяців тому

    Hi, this is truly a master class. I need help and please let me know, how can I contact you. Thank you

  • @Harshu_awni
    @Harshu_awni 5 місяців тому

    Hey bro thanks for your content I just found what I am looking for 😊😊

  • @mr.shredder5430
    @mr.shredder5430 5 місяців тому

    great lesson, but i cannot inherit base class constructor from derived

  • @user-kn8tp7jo3c
    @user-kn8tp7jo3c 6 місяців тому

    do you have a github with this file? i typed it over but there isn't any data written to my test.wav (edit): i missed "(" in line 65. great tutorial btw

  • @jonnyfive5000
    @jonnyfive5000 6 місяців тому

    Doing this in 2024 and some of the steps look a little different but I think it's actually much more streamlined now. I hope you have been doing well. Any plans to post more tutorials? Thanks for the ones around audio. I appreciate the help.

  • @FatalNight199
    @FatalNight199 6 місяців тому

    beautiful, what a perfect video. One week ago, I was finally diving in this programming universe just for fun, and now I casually find this video of you putting in practice a lot of things I read in cplusplus this days. Thank u very much, really.

  • @jameshopkins3541
    @jameshopkins3541 6 місяців тому

    ????????????

  • @nicholas3895
    @nicholas3895 6 місяців тому

    I'm a beginner, could you please help me? I understood that at the beginning of the WAV file we have a series of bytes that represent the info of the file and each info has to occupy a specific size in bytes. "Num channels" for example is represented as an INT in the program, but it can't be seen as an INT in the WAV file because it would occupy 4 bytes and not 2, so you convert it with the function write_as_bytes(), but to be honest i didn't understand it at all due to my lack of knowledge. Could you please explain it to me in a simple way?

  • @ajaypalsinghsidhu1458
    @ajaypalsinghsidhu1458 6 місяців тому

    can we create image from pixels in opencv in cpp???

  • @batatadourada
    @batatadourada 8 місяців тому

    Very well explained. Thank you.

  • @JoJo777890
    @JoJo777890 8 місяців тому

    How to open ppm files on Windows 10?

  • @Erick-ld5ny
    @Erick-ld5ny 8 місяців тому

    Amazing. This worked great. I understand it. Three years later and still great.

  • @andsoehd277
    @andsoehd277 9 місяців тому

    this is hidden gems, thank you:) can u make foto jpeg/jpg please :D

  • @gamercodes9757
    @gamercodes9757 9 місяців тому

    thank you man i appriciate your work you deserve better!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • @MrWickedsouls
    @MrWickedsouls 9 місяців тому

    I am taking C++ as my new language after working on the front end for over 7 years. I was always interested in low level code and your video helped a lot. The only thing I don't understand is why .ppm files opened in VS code show numbers and not binarires and why jpg files dont show digital or binary content?

  • @Arelium
    @Arelium 9 місяців тому

    THANK YOU SO MUCH!!

  • @mohsenir69
    @mohsenir69 10 місяців тому

    This is the kind of programming tutorial I need, Thanks for your great video

  • @basboerboom9328
    @basboerboom9328 10 місяців тому

    Can't you use a short instead of an int for the 2 byte formats?

  • @nicolascrespo4643
    @nicolascrespo4643 11 місяців тому

    Amazing video as the previous! Thank you so much :)

  • @nicolascrespo4643
    @nicolascrespo4643 11 місяців тому

    Thank you very much Sir. The explanation was great!

  • @danifor4974
    @danifor4974 Рік тому

    Thanks ur the best!!

  • @PabloGnesutta
    @PabloGnesutta Рік тому

    Is there a 1.1 video on c++?

  • @huggaberry1160
    @huggaberry1160 Рік тому

    I could kiss you. Amazing Video!

  • @tac0butt158
    @tac0butt158 Рік тому

    thank you so much

  • @krisvers
    @krisvers Рік тому

    You should do another one of these image manipulation videos but with TGA or BMP

  • @TobyAdd
    @TobyAdd Рік тому

    good video to understand wav base, thank you

  • @matsredman7640
    @matsredman7640 Рік тому

    Super helpful. Thanks!

  • @ItsAG0al
    @ItsAG0al Рік тому

    so beaultiful

  • @user-ms3eb7mg6q
    @user-ms3eb7mg6q Рік тому

    Is there an advantange to using P6 over P3?

  • @user-ms3eb7mg6q
    @user-ms3eb7mg6q Рік тому

    i'm looking for the 4.0 video that was referenced in the 4.1 video. Can't find it?

  • @mortal295936cl
    @mortal295936cl Рік тому

    dude key, dookie

  • @sabanadminolmayan8265
    @sabanadminolmayan8265 Рік тому

    That was unbeliavable helpful. I watched it with lot of pause. Extreme good explanations.

  • @ALEET
    @ALEET Рік тому

    Awesome now let’s do libavcodec

  • @craftrumzen2393
    @craftrumzen2393 Рік тому

    Nice video, I already installed it before though. Can you show how to install and enable libraries in msys such as gtk-3.0, glib-2.0 etc. so that they would actually work in VSCode?

  • @HaVocHarMony
    @HaVocHarMony Рік тому

    Omg this is exactly what I needed. I’ve watched so many others and they never explain exactly what’s going on. Thank you sir 🎉 wish you had PDF so i could print this stuff... hahah although i know i can just type it up 🥲

  • @AungWinHtutGH
    @AungWinHtutGH Рік тому

    Great explanation, nice and clear, thanks and keep it up!