Added: 2 years ago
From: xoaxdotnet
Views: 19,958
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (11)

Sign In or Sign Up now to post a comment!
  • awsome!! Game world here I come!!

  • Thanks so much!

  • thank you so much for this entire series

  • Your videos make challenging concepts seem very easy, thank you for this, and keep it up!

  • advantis03, why do you say that?

  • "Function pointers are largely unnecessary". Please elaborate.

  • A better way to implement this would be to create a CCoinGroup class and then implement SortByYear and SortByValue member functions within it.

  • Say you have a 'player' in a baseball game.

    Setup a Function pointer for the player which either allows to the player to act as a batter or as a fielder - and allows you to switch between these quickly and easily inside the program

  • @advantis03 you most of the time wont need them maybe

  • @GhostXoP "Unnecessary" usually means "it can be done in a different way, and it's easier to understand and maintain", not "you probably don't need them as much as other language elements". I'm using function pointers to simplify things in certain situations (usually when they can go into an array or something).

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more