Professor Hank Stalica
Professor Hank Stalica
  • 467
  • 2 904 668
C++ Tutorial: Finding Classes and their Responsibilities [10]
Learn how to identify classes and their responsibilities in software design. This tutorial covers techniques for defining roles, methods, and interactions to create well-structured and maintainable code.
// Join our message board:
professorhank.freeforums.net/
// Join this channel to get access to perks:
czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin
// Consider supporting this channel in multiple ways
ko-fi.com/professorhank
wise.com/pay/me/henrys814
paypal.me/hankstalica1
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
zhlédnutí: 192

Video

C++ STL Tutorial: for_each, count_if, all_of range processing functions
zhlédnutí 189Před 21 dnem
Learn to use C algorithm library functions for_each, count_if, and all_of to process ranges of values. This tutorial covers their syntax, usage, and practical examples for efficient data handling. Examples provided using Visual Studio Community. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljo...
C++ Tutorial: How to use Replit to write C++ programs
zhlédnutí 180Před 28 dny
Discover how to write and run C programs using Replit. This tutorial covers setup, coding, and execution, making online C development easy and accessible for beginners and advanced users alike. Replit (www.replit.com) is a website that provides online IDEs for all sorts of languages, include C . // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks...
C++ STL Tutorial: sort() and binary_search() algorithm functions
zhlédnutí 127Před 28 dny
Learn to use C sort and binary_search functions from the algorithm header, optimizing data organization and retrieval. This tutorial covers syntax, usage, and practical examples for efficient coding. Examples provided using Visual Studio Community. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htm...
C++ STL Tutorial: tuples
zhlédnutí 166Před měsícem
Master C tuples with this tutorial, exploring creation, access, and manipulation techniques. Enhance your understanding of handling multiple values in a single variable efficiently in C . Examples provided using Visual Studio Community. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin // Con...
C++ STL Tutorial: sets
zhlédnutí 171Před měsícem
Master C sets in this tutorial, covering their uses, key functions, and practical examples. Learn how to efficiently store and manipulate unique elements in your C programs. Examples provided using Visual Studio Community. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin // Consider supporti...
C++ STL Tutorial: maps
zhlédnutí 287Před měsícem
Master C maps in this tutorial: learn key-value pair storage, insertion, access, and traversal, with practical examples to enhance your coding and data handling skills in C . Examples provided using Visual Studio Community. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin // Consider support...
C++ STL Tutorial: Iterators
zhlédnutí 255Před měsícem
Learn how to effectively use C iterators in this tutorial, covering basics, types, and practical examples to enhance your coding skills and improve data manipulation in C . Examples provided using Visual Studio Community. // Join our message board: professorhank.freeforums.net/ // Consider supporting this channel in multiple ways ko-fi.com/professorhank wise.com/pay/me/henrys814 paypal.me/hanks...
Java Tutorial: How to fix Could not find or load main class error in NetBeans
zhlédnutí 313Před měsícem
If you're writing a Java program and have a problem compiling and the Output tells you: Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException I'm going to show you why it happens and how to fix it in this video. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin ...
Office Hours #5
zhlédnutí 138Před měsícem
Shoutouts and announcements. // Professor Hank ko-fi: ko-fi.com/professorhank/shop // AI Playlist: czcams.com/play/PLaatXkJEXKyJjYYOrWrmVPNbWvs_sRgmm.html&si=HupJ_Uf3XluAnDty // Join our message board: professorhank.freeforums.net/ // Consider supporting this channel in multiple ways czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin paypal.me/hankstalica1 Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs9...
The Stack Data Structure
zhlédnutí 158Před 2 měsíci
Dive deep into the stack data structure with this enlightening tutorial video. Understand its principles, operations, and efficiency in Java programming. Join Professor Hank as he guides you through mastering stacks efficiently. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin // Consider su...
The Queue Data Structure isEmpty and clear Algorithms (Part 4 of 4)
zhlédnutí 97Před 2 měsíci
Unlock the secrets of the queue data structure in this comprehensive tutorial video. Delve into its functionality, operations, and applications in Java programming. Let Professor Hank be your guide to mastering queues efficiently. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin // Consider ...
The Queue Data Structure Peek Algorithm (Part 3 of 4)
zhlédnutí 75Před 2 měsíci
Unlock the secrets of the queue data structure in this comprehensive tutorial video. Delve into its functionality, operations, and applications in Java programming. Let Professor Hank be your guide to mastering queues efficiently. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin // Consider ...
The Queue Data Structure Dequeue Algorithm (Part 2 of 4)
zhlédnutí 67Před 2 měsíci
Unlock the secrets of the queue data structure in this comprehensive tutorial video. Delve into its functionality, operations, and applications in Java programming. Let Professor Hank be your guide to mastering queues efficiently. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin // Consider ...
The Queue Data Structure Introduction and Enqueue Algorithm (Part 1 of 4)
zhlédnutí 155Před 2 měsíci
Unlock the secrets of the queue data structure in this comprehensive tutorial video. Delve into its functionality, operations, and applications in Java programming. Let Professor Hank be your guide to mastering queues efficiently. // Join our message board: professorhank.freeforums.net/ // Join this channel to get access to perks: czcams.com/channels/-RZhAum87am1bsFAJ_HV-g.htmljoin // Consider ...
Doubly Linked lists Tutorial #5: removing a node from the list (updated)
zhlédnutí 85Před 3 měsíci
Doubly Linked lists Tutorial #5: removing a node from the list (updated)
Doubly Linked lists Tutorial #4: inserting a new node into the list (updated)
zhlédnutí 44Před 3 měsíci
Doubly Linked lists Tutorial #4: inserting a new node into the list (updated)
Doubly Linked lists Tutorial #3: removing the list from memory (updated)
zhlédnutí 76Před 4 měsíci
Doubly Linked lists Tutorial #3: removing the list from memory (updated)
Doubly Linked lists Tutorial #2: searching a doubly linked list (updated)
zhlédnutí 53Před 4 měsíci
Doubly Linked lists Tutorial #2: searching a doubly linked list (updated)
Doubly Linked lists Tutorial #1: Intro and appending a Node to the list (updated)
zhlédnutí 84Před 4 měsíci
Doubly Linked lists Tutorial #1: Intro and appending a Node to the list (updated)
Linked Lists Tutorial #5: inserting a node into a linked list (Updated)
zhlédnutí 101Před 4 měsíci
Linked Lists Tutorial #5: inserting a node into a linked list (Updated)
Linked Lists Tutorial #4: removing a node from a linked list (Updated)
zhlédnutí 97Před 4 měsíci
Linked Lists Tutorial #4: removing a node from a linked list (Updated)
Linked Lists Tutorial #3: removing a linked list from memory (Updated)
zhlédnutí 133Před 4 měsíci
Linked Lists Tutorial #3: removing a linked list from memory (Updated)
Linked Lists Tutorial #2: searching a linked list (Updated)
zhlédnutí 184Před 4 měsíci
Linked Lists Tutorial #2: searching a linked list (Updated)
Linked Lists Tutorial #1: Intro and append algorithm (Updated)
zhlédnutí 330Před 4 měsíci
Linked Lists Tutorial #1: Intro and append algorithm (Updated)
Java Tutorial #18: Text Files
zhlédnutí 82Před 4 měsíci
Java Tutorial #18: Text Files
Java Tutorial #17: Recursion
zhlédnutí 65Před 4 měsíci
Java Tutorial #17: Recursion
Java Tutorial #16: Inner Classes
zhlédnutí 56Před 4 měsíci
Java Tutorial #16: Inner Classes
Java Tutorial #15: Polymorphism
zhlédnutí 87Před 4 měsíci
Java Tutorial #15: Polymorphism
Java Tutorial #14: Aggregation
zhlédnutí 69Před 4 měsíci
Java Tutorial #14: Aggregation

Komentáře

  • @user-no9xf5ng4v
    @user-no9xf5ng4v Před 5 hodinami

    Why bald guy is always so fantastic af

  • @Towhid-ze3rw
    @Towhid-ze3rw Před dnem

    Now this concept is my academic weapon for the OOP theory exam. Loved it

  • @lg7t
    @lg7t Před 2 dny

    professor is there any assignment that would help us in each lesson ? and THANKS FOR YOUR EFFORT

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 2 dny

      Yes, but to see them, you need to be in my class and you are welcome.

    • @lg7t
      @lg7t Před 2 dny

      @@ProfessorHankStalica how is thay possible ?

  • @elmehdiradouane
    @elmehdiradouane Před 3 dny

    thank you

  • @duttybwoy556
    @duttybwoy556 Před 5 dny

    Very good , clear and simple explanation !!! good job... I also saw this line srand(time(NULL)); on top of the main function for this to not generate the same number all the time

  • @sihammayaba2419
    @sihammayaba2419 Před 6 dny

    You are the best. I watched many videos before finding yours. Thank you very much.

  • @pamelakunene9962
    @pamelakunene9962 Před 6 dny

    great content helps alot in understanding the textbook

  • @sallaklamhayyen9876

    clear + simple = thank you so much

  • @oooook_0000
    @oooook_0000 Před 8 dny

    hello elliot

  • @GliderOne-uo2jy
    @GliderOne-uo2jy Před 13 dny

    So clear for me. Thank you so much Prof!

  • @freedom4218
    @freedom4218 Před 13 dny

    Thank you SO much

  • @mobina616
    @mobina616 Před 14 dny

    Where can I check the answers of this book question?

  • @TheRawi
    @TheRawi Před 15 dny

    Thanks for this video. I have a question about multiple casting Here is an example: int array[5]{}; array[0] = 1; array[1] = 2; Is it possible to keep the pointer arithmetic here as "int" but assign only a byte? So that "= 1" and "= 2" would be treated as a single byte/char instead of an int.

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 15 dny

      You could store the 1 or 2 in a char variable, or you could use bitwise operators to store 1 in the high byte and 2 in the low byte of an unsigned short, for example.

    • @TheRawi
      @TheRawi Před 15 dny

      @@ProfessorHankStalica Thanks for the answer. I tried to assign it to a temporary variable of type char then assign it, the same result; the compiler still treats it as an int and so the other 6 bits are filled with zeros. What worked for me is this: *(char*)(int*)&array[0] = 1; *(char*)(int*)&array[1] = 2; Here the pointer arithmetic is maintained but only a single byte is copied but I'm not sure if this is safe way of doing it.

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 14 dny

      Why not just make an array of chars? char nums[size]; nums[0] = 1; 1 is stored in a single byte then.

    • @TheRawi
      @TheRawi Před 14 dny

      @@ProfessorHankStalica Because I'm dealing with different types in the array. It's like a low level memory access like assembly stack where you can store 1 , 2 or 4 bytes.

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 14 dny

      Sounds like you need an array of unions possibly: czcams.com/video/mKXFx600vR0/video.htmlsi=g5Fa7HqLf74RXLo8 union Foo { char c; short s; int i; }; Foo stuff[10]; That would allow you to store 1, 2, or 4 bytes in each element of you array.

  • @jchdbtcmdddhuryy6332
    @jchdbtcmdddhuryy6332 Před 17 dny

    Thank so much ❤

  • @akshatagarwal7834
    @akshatagarwal7834 Před 18 dny

    when i create a new file in a repel it and writes code it shows that main cannot be written again.What should I do

  • @ramakrishna4092
    @ramakrishna4092 Před 19 dny

    // While practicing functions, I encountered an error. Can you explain why? // I tried using `void` as an argument in the function call. // Why can't `void` be used this way, and what is the proper way to call a function that takes no arguments? void myFunction(void) { // Function body } int main() { myFunction(void); // Why is this incorrect? return 0; }

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 19 dny

      void isn't an identifier for any type of argument. The proper way to call a function without passing any arguments is to leave the argument list empty, such as: myFunction(); Function header would be void myFunction() { } Using void as in your example is a C thing and is considered bad practice in C++. Although in the function header in C++ void foo() means basically the same as void foo(void) in C. From what I remember it was a standards decision thing and has to do with how early C was developed way back when, but my memory is fuzzy on that.

    • @ramakrishna4092
      @ramakrishna4092 Před 19 dny

      @@ProfessorHankStalica Thank you so much sir

  • @joeyaguirre5656
    @joeyaguirre5656 Před 19 dny

    Professor can you think about it kind of like referencing

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 19 dny

      If you are referring to something like this: a->b->c; or in Java when you do stuff like a.b.c; I suppose you could. Maybe a better way of thinking about it is more like aggregation or the "has-a" relationship.

  • @RelebohileRamainoane-ob9dl

    just made things easier thank you very much

  • @guillaumelacroix4436
    @guillaumelacroix4436 Před 21 dnem

    thank you so much for this explanation of pure virtual functions!

  • @SRPRINZEA
    @SRPRINZEA Před 24 dny

    Thanks prof!

  • @DickNickle
    @DickNickle Před 25 dny

    I'm more curious. Can you make a series on a simple Pong Game with no graphics engine. Using only Ascii Characters. Is it possible ? I never tried but theory wise. It should be possible. Let you pick the game. Cheers

  • @lg7t
    @lg7t Před 25 dny

    Keep It up Professor

  • @jessevanhoozer6788
    @jessevanhoozer6788 Před 25 dny

    I'm confused why getting through the loop guarantees a solution. If we take the map coloring example and use two colors, we would get through the loop, since for each pair of nodes, we can always color them differently. However, the map is not two colorable so there is not a solution even though we got through the loop.

  • @dmark6699
    @dmark6699 Před 25 dny

    Great video but the numbers in that vector sound familiar.

  • @FatimaSh-ti1us
    @FatimaSh-ti1us Před 27 dny

    I am watching your explanation from Jordan. Thank you and I hope you become a Muslim💫💫

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 27 dny

      Well thank you for watching and WELCOME! I hope you are well in Jordan! (And I hope you become an atheist ⚛⚛⚛)

  • @dmark6699
    @dmark6699 Před 28 dny

    Python sort function the same.

  • @dmark6699
    @dmark6699 Před 28 dny

    This site looks interesting. Would be better if this was AI powered and would make suggestions after running your code. Then you could compile it for your project to test.

    • @shadowknocker3034
      @shadowknocker3034 Před 28 dny

      It already does, been using it since 2019 😊

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 27 dny

      It's cool to have my students use it because it does enough for beginners without a bunch of stuff to get in the way of the more feature rich IDEs.

  • @ericThursday-zf3zq
    @ericThursday-zf3zq Před 28 dny

    First here!

  • @ericThursday-zf3zq
    @ericThursday-zf3zq Před 28 dny

    second!

  • @pspsora
    @pspsora Před 28 dny

    First!

  • @dmark6699
    @dmark6699 Před měsícem

    Professor Hank makes it look so easy.

    • @ProfessorHankStalica
      @ProfessorHankStalica Před měsícem

      It is easy. 🙂 Just read your textbook and then write a few programs and you'll get it in not time!

  • @Program_Gamer
    @Program_Gamer Před měsícem

    Thanks for sharing amazing knowledge....❤👍

  • @abdullahsharaawy
    @abdullahsharaawy Před měsícem

    Thanks ❤

  • @bashiraddean-mufarreh
    @bashiraddean-mufarreh Před měsícem

    You are wonderful sir... How are you... You are the first reason I love programming in C++... and I want to ask you what is best if you want to make network software. Do I continue with C++ or move to Java or do you have another opinion?

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 29 dny

      Thank you for the kind words! As far as which language to move on to, whichever you need based on the needs of your project. Languages aren't rally all that important in the overall scheme of things. If you feel comfortable with C++, then to gain a better understanding of programming and how computers work, then it might be time to start looking at some version of Assembly programming.

  • @abdullahsharaawy
    @abdullahsharaawy Před měsícem

    Thanks ❤

  • @bashiraddean-mufarreh
    @bashiraddean-mufarreh Před měsícem

    انت رائع سيدي ... كيف حالك ... انت السبب الأول في حبي للبرمجة بلغة C++ ... وأريد أن أسألك ما الأفضل اذا اردت عمل برمجيات شبكية هل استمر في C++ ام انتقل ل Java ام لديك رأي آخر

  • @Iamyou958
    @Iamyou958 Před měsícem

    Thanks

  • @schwaartz
    @schwaartz Před měsícem

    I CAN'T HEAR YOU (great explanation though)

    • @ProfessorHankStalica
      @ProfessorHankStalica Před 29 dny

      I know, the hardware quality I had on earlier videos wasn't so good. Hopefully, you'll notice it's better in later videos.

  • @sanyuch5606
    @sanyuch5606 Před měsícem

    what is this applicalion

    • @ProfessorHankStalica
      @ProfessorHankStalica Před měsícem

      Visual Studio Community 2022: czcams.com/video/we0uAQ8otLQ/video.html

  • @LMleet06
    @LMleet06 Před měsícem

    Great video really helped me understand!

  • @rizzmaster5000
    @rizzmaster5000 Před měsícem

    Excellent explanation, I love how meticulous you were when describing all the ins and outs. Great video!

  • @user-no9xf5ng4v
    @user-no9xf5ng4v Před měsícem

    Thx Bro, nice video! What is the IDE btw?

  • @ElayaSmith
    @ElayaSmith Před měsícem

    Thank you!

  • @zest4341
    @zest4341 Před měsícem

    thanks Heisenberg

  • @utku9594
    @utku9594 Před měsícem

    I am wondering how Tv image live enhancer program is working.Please explain it.

  • @THExRISER
    @THExRISER Před měsícem

    Thank you.

  • @user-qu2hp3xc5u
    @user-qu2hp3xc5u Před měsícem

    #include <bits/stdc++.h> using namespace std; void random(int*&c,int*&d) { int p=7,q=8; c=&p; d=&q; } int main() { int a=2,b=3; int *c=&a,*d=&b; random(c,d); cout<<*c<<" "<<*d<<endl; cout<<*c<<" "<<*d<<endl; return 0; } //Sir,in the 14th and 15th line I wrote the same line to print,,but got different outputs,why?

  • @emilioramirez4689
    @emilioramirez4689 Před měsícem

    After creating a header file, what is the best way to use it in another project? Do I just need to create a new header file and copy and paste the code over each time?

  • @AbhishekKumar-zv1kn
    @AbhishekKumar-zv1kn Před měsícem

    very clear explanation, appreciate sharing video with us 😀

  • @noam65
    @noam65 Před měsícem

    The best quick start tutorial for LISP that I've seen, ever. Thanks.