Thread: Callback fuction

  1. #1
    Registered User
    Join Date
    May 2008

    Callback fuction

    would any body tell me about the concept behind callback functions

  2. #2
    Join Date
    Oct 2007
    Inside my computer
    The concept is that you pass the address of a function to another function and that function can call that function you passed as a "callback." It can pass information or call it during certain events, and so on.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    and the hat of sweating
    Join Date
    Aug 2007
    Toronto, ON
    I think callback functions are more of a C concept, which have been replaced by function objects (functors or delegates) in C++.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 08-24-2008, 11:39 AM
  2. Replies: 3
    Last Post: 07-19-2008, 03:12 PM
  3. Implant a callback inside a class
    By Rune Hunter in forum C++ Programming
    Replies: 3
    Last Post: 12-14-2005, 08:20 PM
  4. typesafe callback system
    By gandalf_bar in forum C++ Programming
    Replies: 1
    Last Post: 05-22-2004, 06:35 AM
  5. Pointer to member function as callback function
    By ninebit in forum C++ Programming
    Replies: 10
    Last Post: 03-01-2002, 05:52 AM