Original Post
Hi, i have written a quake-like console that associates a console command with a function. But i'm not sure how to use a function pointer to an objects function. eg void function (void) { // do stuff here } cConsole.addCommand(function,"command"); ^ This works perfectly, but when i try to add a class method i get errors, eg; cConsole.addCommand(cSomeObject.itsFunction,"command"); i hope i have explained that ok, basically i want the addCommand function to accept a function pointer from an object as well, does anyone know how to do this? Muncher