Click here to Skip to main content
15,886,637 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ListBox Pin
Niklas L9-Jul-10 1:56
Niklas L9-Jul-10 1:56 
GeneralRe: ListBox Pin
AbhiHcl9-Jul-10 2:24
AbhiHcl9-Jul-10 2:24 
GeneralRe: ListBox Pin
Niklas L9-Jul-10 2:26
Niklas L9-Jul-10 2:26 
QuestionString Pin
T.RATHA KRISHNAN8-Jul-10 20:42
T.RATHA KRISHNAN8-Jul-10 20:42 
AnswerRe: String Pin
«_Superman_»8-Jul-10 20:48
professional«_Superman_»8-Jul-10 20:48 
AnswerRe: String Pin
Aescleal8-Jul-10 21:21
Aescleal8-Jul-10 21:21 
QuestionWhy References and pointers cannot be used on constructors and destructors Pin
pandit848-Jul-10 19:45
pandit848-Jul-10 19:45 
AnswerRe: Why References and pointers cannot be used on constructors and destructors Pin
«_Superman_»8-Jul-10 20:24
professional«_Superman_»8-Jul-10 20:24 
What this means is that you cannot take the address of a constructor to assign to a pointer just like you would do with a normal method.
class A
{
public:
    A(){} // Constructor
    void One() {} // Method
};

int main()
{
    void (A::*pfn)() = &A::One; // Pointer to member function (Valid)
    void (A::*pfn)() = &A::A; // Pointer to Constructor (Invalid)

    return 0;
}

«_Superman

I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C







GeneralRe: Why References and pointers cannot be used on constructors and destructors Pin
pandit848-Jul-10 20:33
pandit848-Jul-10 20:33 
QuestionHow to change a Button caption Pin
raju_shiva8-Jul-10 18:59
raju_shiva8-Jul-10 18:59 
AnswerRe: How to change a Button caption Pin
«_Superman_»8-Jul-10 19:22
professional«_Superman_»8-Jul-10 19:22 
GeneralRe: How to change a Button caption Pin
Stephen Hewitt8-Jul-10 20:16
Stephen Hewitt8-Jul-10 20:16 
GeneralRe: How to change a Button caption Pin
«_Superman_»8-Jul-10 20:20
professional«_Superman_»8-Jul-10 20:20 
GeneralRe: How to change a Button caption Pin
Stephen Hewitt8-Jul-10 20:24
Stephen Hewitt8-Jul-10 20:24 
GeneralRe: How to change a Button caption Pin
«_Superman_»8-Jul-10 20:33
professional«_Superman_»8-Jul-10 20:33 
QuestionHow to import data from MS-Access to SQL Pin
raju_shiva8-Jul-10 17:54
raju_shiva8-Jul-10 17:54 
Questionsubroutine to solve linear algebraic equations - fewer unknowns than equations Pin
mrby1238-Jul-10 7:44
mrby1238-Jul-10 7:44 
AnswerRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini8-Jul-10 7:50
mveCPallini8-Jul-10 7:50 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
mrby1238-Jul-10 8:00
mrby1238-Jul-10 8:00 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini8-Jul-10 9:59
mveCPallini8-Jul-10 9:59 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Dr.Walt Fair, PE8-Jul-10 8:28
professionalDr.Walt Fair, PE8-Jul-10 8:28 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
mrby1238-Jul-10 8:39
mrby1238-Jul-10 8:39 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Dr.Walt Fair, PE8-Jul-10 8:51
professionalDr.Walt Fair, PE8-Jul-10 8:51 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
CPallini8-Jul-10 9:22
mveCPallini8-Jul-10 9:22 
GeneralRe: subroutine to solve linear algebraic equations - fewer unknowns than equations Pin
Dr.Walt Fair, PE8-Jul-10 18:09
professionalDr.Walt Fair, PE8-Jul-10 18:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.