Default Arguments // C++ Functions for Beginners [Part 9]

  Рет қаралды 1,200

Professor Hank Stalica

Professor Hank Stalica

Күн бұрын

Learn how to use default arguments to give you flexibility in how you call your functions.
In this C++ programming tutorial for beginners, we'll include a sample program using Visual Studio 2022 C++ .
// Learn More:
C++ Functions for Beginners » • Playlist
C++ Play list » • Playlist
// Consider supporting this channel in multiple ways
paypal.me/hank...
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Dogecoin: DRK2HDp3ZkkbFpvGZnVgMVosnBhPv8r3uP

Пікірлер: 8
@Caram3lB3ar
@Caram3lB3ar Жыл бұрын
Your videos are so much better than the book for school. Thanks a bunch!
@ProfessorHankStalica
@ProfessorHankStalica Жыл бұрын
Glad you think so!
@meswanerophi
@meswanerophi 9 ай бұрын
GREAT VIDEO THANK YOU PROFESSOR
@ProfessorHankStalica
@ProfessorHankStalica 8 ай бұрын
You are very welcome
@__hannibaalbarca__
@__hannibaalbarca__ 2 жыл бұрын
Hello ; What problem with: Int main() { int (*f)()=nullptr; f = main; unsigned char* p = (unsigned char*)f ; for(int i = 0; i< 10;i++) cout
@ProfessorHankStalica
@ProfessorHankStalica 2 жыл бұрын
Check on the order of operations. Not sure what you are trying to do exactly, but which comes first * or ++? Also, remember what the postfix operator does. You get the value out of p first and then p is incremented.
@__hannibaalbarca__
@__hannibaalbarca__ 2 жыл бұрын
Also can we do : int main() { main(); return 0; }😅
@ProfessorHankStalica
@ProfessorHankStalica 2 жыл бұрын
Just because you could doesn't mean you should...
Pass by reference // C++ Functions for Beginners [Part 10]
13:26
Professor Hank Stalica
Рет қаралды 2,1 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
Une nouvelle voiture pour Noël 🥹
00:28
Nicocapone
Рет қаралды 9 МЛН
The evil clown plays a prank on the angel
00:39
超人夫妇
Рет қаралды 53 МЛН
Default Arguments | C++ Tutorial
8:22
Portfolio Courses
Рет қаралды 3,5 М.
C++ Tutorial:  enumerated data types [enums]
16:38
Professor Hank Stalica
Рет қаралды 2,5 М.
Inline Functions & Default Parameters in C++ Programming
13:31
Simple Snippets
Рет қаралды 113 М.
Learn C++ With Me #20 - Functions
26:14
Tech With Tim
Рет қаралды 63 М.
C++ Pass by Value, Reference, Pointer Explained
9:33
Caleb Curry
Рет қаралды 47 М.
Friend functions and classes in C++ (Programming for beginners)
18:18
Local vs Global Variables // C++ Functions for Beginners [Part 7]
15:22
Professor Hank Stalica
Рет қаралды 1,3 М.
C++ user defined functions (#15) 📬
17:14
Bro Code
Рет қаралды 40 М.
Enceinte et en Bazard: Les Chroniques du Nettoyage ! 🚽✨
00:21
Two More French
Рет қаралды 42 МЛН