Paul Programming
Paul Programming
  • 81
  • 8 789 558
How to Create a Dynamically Allocated Array and Some More Cool Stuff C++
In this tutorial, I explain how to dynamically create a 1D array by passing the size in from the command line. Also I show how we can manipulate the dynamically allocated array from within a function by passing the array into a method by pointer reference.
If you are interested in learning more about int argc, char * argv[] make sure to check out my tutorial here. ua-cam.com/video/aP1ijjeZc24/v-deo.html
If you are looking for a good C++ reference book, I recommend this one. amzn.to/1PftaSt
If you would like to help me make more videos you can donate via the UA-cam tip jar on my main channel page.
STILL NEED MORE HELP?
Connect one-on-one with a Programming Tutor. Click the link below:
trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238
:)
Переглядів: 26 343

Відео

Introduction to a Double Pointer C++ (Pointer to a Pointer)
Переглядів 37 тис.7 років тому
In this tutorial, I demonstrate a simple example using a double pointer a.k.a. pointer to a pointer (not to be confused with a double * which is single pointer of type double). Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
What is the Difference Between Pass By Pointer and Pass By Pointer Reference (int * and int * &) C++
Переглядів 85 тис.7 років тому
In this tutorial, I explain the difference between passing by pointer and passing by pointer reference in a C program. Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
What is the Difference Between a Pointer and a Reference C++
Переглядів 424 тис.7 років тому
In this video I explain the difference between a C pointer and a C reference. Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
What is the Difference Between Pass By Value, Pass By Reference, and Pass By Pointer, C++
Переглядів 119 тис.7 років тому
In this video I explain the difference between pass by value, pass by reference, and pass by pointer in a C program. Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
Venus Fly Trap Eats a Meal
Переглядів 6 тис.7 років тому
I know this is not the kind of content that I normally post, but I recorded my Venus Fly Trap eating a fly today and figured others would enjoy it as well. STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
What is the Difference Between return 0 and exit(0) in a C++ Program
Переглядів 45 тис.8 років тому
In a C program, the main function often returns a value to the operating system. Usually this is accomplished by using the return keyword. However, we can also return a value by using the exit keyword. This video explains the difference between leaving a main function with return vs exit. This channel, Paul Programming, provides helpful computer science tutorials with an emphasis on C and data ...
How to Select and Replace a Column of Code Using Vim Visual Block Mode
Переглядів 31 тис.9 років тому
In this tutorial, I explain how to select and replace a column of code using the Vim editor's Visual Block mode. Want to learn C ? I highly recommend this book amzn.to/1PftaSt Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
How to Create a Simple Makefile - Introduction to Makefiles
Переглядів 819 тис.9 років тому
In this video I show how to create a simple makefile. Want to learn C ? I highly recommend this book amzn.to/1PftaSt Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
How to Include File Guards - Why to Include Fileguards in C or C++ Header Files
Переглядів 80 тис.9 років тому
In this video I explain how and why to use fileguards in a C or C header file. Want to learn C ? I highly recommend this book amzn.to/1PftaSt Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
How To Customize Your Bash Terminal Prompt
Переглядів 16 тис.9 років тому
In this video I show you how to modify your .bashrc and .bash_profile files in order to set a custom prompt. Want to learn C ? I highly recommend this book amzn.to/1PftaSt Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
What is the difference between break and continue keywords in C/C++
Переглядів 11 тис.9 років тому
This tutorial explains the difference between the break and continue keywords that are used inside of a C or C loop. Want to learn C ? I highly recommend this book amzn.to/1PftaSt Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
What does int argc, char* argv[] mean?
Переглядів 350 тис.9 років тому
In this tutorial I explain the meaning of the argc and argv variables that are often passed in the main function of a C or C program. Want to learn C ? I highly recommend this book amzn.to/1PftaSt Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
What is Git - A Quick Introduction to the Git Version Control System
Переглядів 166 тис.9 років тому
In this tutorial, I explain some of the basics of a Git Version Control System. Want to learn C ? I highly recommend this book amzn.to/1PftaSt Donate - bit.ly/17vCDFx STILL NEED MORE HELP? Connect one-on-one with a Programming Tutor. Click the link below: trk.justanswer.com/aff_c?offer_id=2&aff_id=8012&url_id=238 :)
Binary Search Trees - Post Order Traversal Demonstration - Deconstructor - C++ - Part 15
Переглядів 12 тис.9 років тому
Binary Search Trees - Post Order Traversal Demonstration - Deconstructor - C - Part 15
Binary Search Trees - Deconstructor - C++ - Part 14
Переглядів 14 тис.10 років тому
Binary Search Trees - Deconstructor - C - Part 14
Binary Search Trees - Testing the Remove Node Functions - C++ - Part 13
Переглядів 11 тис.10 років тому
Binary Search Trees - Testing the Remove Node Functions - C - Part 13
Binary Search Trees - Remove Match Function - C++ - Part 12
Переглядів 18 тис.10 років тому
Binary Search Trees - Remove Match Function - C - Part 12
Binary Search Trees - Remove Root Match Function - C++ - Part 11
Переглядів 26 тис.10 років тому
Binary Search Trees - Remove Root Match Function - C - Part 11
Binary Search Trees - Remove Node Function - C++ - Part 10
Переглядів 51 тис.10 років тому
Binary Search Trees - Remove Node Function - C - Part 10
Binary Search Trees - Find Smallest Key Function - C++ - Part 9
Переглядів 20 тис.10 років тому
Binary Search Trees - Find Smallest Key Function - C - Part 9
Binary Search Trees - Print Children Function - C++ - Part 8
Переглядів 25 тис.10 років тому
Binary Search Trees - Print Children Function - C - Part 8
Binary Search Trees - Return Node Function - C++ - Part 7
Переглядів 30 тис.10 років тому
Binary Search Trees - Return Node Function - C - Part 7
5,000 Subscribers! THANK YOU!
Переглядів 60110 років тому
5,000 Subscribers! THANK YOU!
Binary Search Trees - Print In Order Function - C++ - Part 6
Переглядів 68 тис.10 років тому
Binary Search Trees - Print In Order Function - C - Part 6
Binary Search Trees - Add Node Function - C++ - Part 5
Переглядів 105 тис.10 років тому
Binary Search Trees - Add Node Function - C - Part 5
Binary Search Trees - Coding Project Setup - C++ - Part 4
Переглядів 70 тис.10 років тому
Binary Search Trees - Coding Project Setup - C - Part 4
Binary Search Trees - In-Order Traversal - C++ - Part 3
Переглядів 74 тис.10 років тому
Binary Search Trees - In-Order Traversal - C - Part 3
Binary Search Trees - Deleting Nodes - Part 2 - C++ - How to Delete Nodes from a Binary Search Tree
Переглядів 85 тис.10 років тому
Binary Search Trees - Deleting Nodes - Part 2 - C - How to Delete Nodes from a Binary Search Tree
Programming in the Bash Terminal Demo
Переглядів 3 тис.10 років тому
Programming in the Bash Terminal Demo

КОМЕНТАРІ

  • @hrishikeshkashyap3715
    @hrishikeshkashyap3715 4 дні тому

    Can you make another video elaborating the underlying mechanism behind *passByPtrRef* .... I just wanna be honest. I'm finding it very difficult to understand this concept.

  • @benjamindrhee
    @benjamindrhee 4 дні тому

    That was indeed a pretty good introduction to Makefiles

  • @MUHAMMADYAQOOBWAKO-dl2gz
    @MUHAMMADYAQOOBWAKO-dl2gz 9 днів тому

    I understood ❤ 😊 thanks

  • @jonathancollett4174
    @jonathancollett4174 14 днів тому

    Wow!! 9 years later and this video still holds up and is very informative. I just created my first makefile!!

  • @corypheus1316
    @corypheus1316 18 днів тому

    bro , how simple is that Subject actually. Subscribed und liked. Thank u so much

  • @samarthtandale9121
    @samarthtandale9121 19 днів тому

    Great tutorial, I just had a few doubts 😅 Is the clean command an exception for that "target: dependencies" syntax?

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

    really cool explanation, thanks a lot!

  • @gonzothegreat1317
    @gonzothegreat1317 24 дні тому

    Very clear. Thanks.

  • @LetsGP1
    @LetsGP1 26 днів тому

    pual i have a quasteion : is hash tables share same index in the memory or something like that cus you have said that if we have multiple value in save index they will link to the same index with different key , i just wanna know that i leared that right

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

    Thanks a lot.

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

    Crisp and Informative. Thanks

  • @user-gz5bj2ub4n
    @user-gz5bj2ub4n Місяць тому

    Followed ❤

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

    great

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

    Excellent exaplaination

  • @Karaboseopa-jx1qy
    @Karaboseopa-jx1qy Місяць тому

    The best explanation of makefiles i have ever seen

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

    Yeah the one specific case where you need it. Now add a second .cpp file and include the header...

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

    Excellent video. Excellent teacher. Thank You.

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

    UA-cam has made it clear that my college professors were absolute garbage at teaching. You explained in a few minutes what I never learned in a 4 year degree. I just used the guards because I was supposed to. Also engine has now lost all meaning and doesn't sound like a real word anymore 😂

  • @user-gv1ec5br9g
    @user-gv1ec5br9g Місяць тому

    who is from cs50?

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

    i love you man ... thank you

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

    it was a hell question in my mind after you answered it thank you

  • @BlueSky-ho6dy
    @BlueSky-ho6dy 2 місяці тому

    2:54

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

    Thank you so much, Sir. The way you are teaching is excellent ❤

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

    Bro I understood the concept in 12 mins in this video I watched some other videos about this topic but none of them could explain as good as you

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

    You have a very lucid style of explanation! You earned a new subscriber Sir.

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

    Love form Balochistan ❤

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

    Oh wow nice lecture ☺️

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

    EECS 280

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

    Pointers and references, if you look at the actual assembly, im pretty sure are identical

  • @AhmedKhan-yw3wx
    @AhmedKhan-yw3wx 2 місяці тому

    And here I was thinking pointers would be hard to tackle, thank you so much for such an easy explanation .

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

    great explanation

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

    reference 6:01

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

    THANKS SO MUCH

  • @RajatAggarwal-rl1fz
    @RajatAggarwal-rl1fz 3 місяці тому

    This was awesome!

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

    I was getting errors at first because a small mistake, "MakeFile" instead of "Makefile" 😂😂. Thanks Paul for a great tutorial.

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

    amazing video thakn you

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

    Thanks a lot for this informative tutorial. It's one of the great tutorials about makefiles.

  • @user-bo6sn9zz4f
    @user-bo6sn9zz4f 3 місяці тому

    if we cast 'var' to an int pointer than what happening memory ??

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

    It was a really wonderful explanation, Thank you Paul!!

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

    brilliantly explained

  • @junior.santana
    @junior.santana 3 місяці тому

    I thought it was a large white board on the wall, then I was caught off guard when the gigantic hand showed up

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

    how did you make the empty makefile?

  • @9603nix
    @9603nix 3 місяці тому

    I would like to differ sir in C you can actually start your for loop like this for(int i = 0; ..........

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

    Excellent explanation. Thanks Paul!!

  • @user-uq1cc1fe8q
    @user-uq1cc1fe8q 4 місяці тому

    Thank you so much, this video really help me

  • @user-hh9xc8ut3d
    @user-hh9xc8ut3d 4 місяці тому

    Yes

  • @user-hh9xc8ut3d
    @user-hh9xc8ut3d 4 місяці тому

    So clear and simple ❤

  • @webb-developer
    @webb-developer 4 місяці тому

    amazing explanation

  • @YT.ALGORITHM
    @YT.ALGORITHM 4 місяці тому

    Watching in 2024 🥺

  • @GabrielSoares-mt5il
    @GabrielSoares-mt5il 4 місяці тому

    Thanks for the straight-forward to the point tutorial!