![]() |
| ||
| Reg Function pointers Hi All, I am trying to implement the concept of function pointer in C++. While compiling i got some errors which I couldnt figure out the reason . So,Please let me know what changes should be done for resolving that error. I am trying to execute one particular command function when the commandis pressed.Likewise, I have 100 commands and whenever the commands are pressed the corresponding function + arguements should be passed and the function pointer should execute the command. Below are my code, command.h Please let me know where i should change the code. Expecting some solutions for this code ASAP . Thanks, Sowmi |
| |||
| Re: Reg Function pointers Quote:
Quote:
Quote:
|
| ||
| Re: Reg Function pointers I see no definition for public function int SearchCommand() in class FunctionEntry. I suppose that might stop you dead in your tracks! |
| ||
| Re: Reg Function pointers Quote:
#include <iostream> |
| All times are GMT -4. The time now is 8:00 pm. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC