Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. gRegister

    Classview Inherited members

    This sis close to what i wanted. In ClassView, select the derived class your interested in, right click and choice Base Classes. A window will appear allowing you to navigate the inheritance tree.
  2. gRegister

    Classview Inherited members

    Ok, since we can't do that. Is there some other method to browse the inheritance tree of a derived class.
  3. gRegister

    Classview Inherited members

    How do I get the Classview Tab to show inherited members and member function in VC++ 6.0
  4. gRegister

    It's possible to evaluate a string as a mathematical expression?C++3.1

    seems you would need to create a stack to do postfix polish notation processing
  5. gRegister

    pointer to member function

    thanks i'll take a look at patterns. however the original proposal still seems worthy of investigation, if for no other reason than to better understand.
  6. gRegister

    pointer to member function

    It acually started to better understand the relationship of static and virtual member functions. It has grown int o the monster we speak of now. The idea was to create an object which contained a list of functions commonly used in some application. Let's say i'm processing messages from some...
  7. gRegister

    pointer to member function

    I completely agree that the typedef should work, but it will only compile using vector<int ( FPclass::*)(void)> functions; i think i need to understand more about binders and adapters, as Bjarne Stroustrup explain them in his book. Since he made the revsion to allow member function pointers in...
  8. gRegister

    pointer to member function

    You are correct about how to call the function. As you stated the below worked. (this->*functions[option])(); However this will not work. typedef int (FPclass::*FuncPointer)(void); vector<int (FuncPointer)(void)> functions; I get the following error &quot;C:\Program Files\Microsoft Visual...
  9. gRegister

    pointer to member function

    I'm having trouble accomplishing this without using a wrapper class. This all worked in Visual C++ except for the function call itself, which gave the following error &quot;illegal on operands of type 'int (__thiscall FPclass::*)(void)' &quot; It comes down to two questions. 1. Is their a...

Part and Inventory Search

Back
Top