Click here to Skip to main content
15,892,643 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Another Conversion Question Pin
Tomasz Sowinski27-Jun-01 10:19
Tomasz Sowinski27-Jun-01 10:19 
GeneralImageList icons not showing up in color Pin
Jack Mott27-Jun-01 6:26
Jack Mott27-Jun-01 6:26 
GeneralData in CHtmlView Pin
Kmbhatti27-Jun-01 3:54
Kmbhatti27-Jun-01 3:54 
GeneralAdd-in in Developer Studio Pin
27-Jun-01 3:27
suss27-Jun-01 3:27 
GeneralRe: Add-in in Developer Studio Pin
Bret Faller27-Jun-01 6:54
Bret Faller27-Jun-01 6:54 
GeneralEnumEnhMetaFile does not call Callback on some systems Pin
27-Jun-01 2:40
suss27-Jun-01 2:40 
GeneralSimple member function question Pin
Stephen McGeown27-Jun-01 0:36
Stephen McGeown27-Jun-01 0:36 
GeneralRe: Simple member function question Pin
Thomas Blenkers27-Jun-01 0:45
Thomas Blenkers27-Jun-01 0:45 
Stephen,

you're thinking too plain C...

You define a class A having a member function (also called method) member_function. Your calling_function will call a function member_function having on the global namespace, which doesn't exist.

This will work:
....
A myInstanceOfA;
myInstanceOfA.member_function();
....

Or, if you have *very good* reasons to have static functions in your class:
class AA
{
public:
static void static_member_function();
};

then this will work also:
....
AA::static_member_function();
....
Thomas
GeneralRe: Simple member function question Pin
Stephen McGeown27-Jun-01 2:08
Stephen McGeown27-Jun-01 2:08 
GeneralRe: Simple member function question Pin
Malcolm McMahon27-Jun-01 2:59
Malcolm McMahon27-Jun-01 2:59 
Generali'm sure someone knows the answer to this... Pin
27-Jun-01 0:26
suss27-Jun-01 0:26 
GeneralRe: i'm sure someone knows the answer to this... Pin
Igor Sukhov27-Jun-01 1:16
Igor Sukhov27-Jun-01 1:16 
GeneralRe: i'm sure someone knows the answer to this... Pin
27-Jun-01 3:21
suss27-Jun-01 3:21 
GeneralRe: i'm sure someone knows the answer to this... Pin
Igor Sukhov27-Jun-01 6:49
Igor Sukhov27-Jun-01 6:49 
GeneralRe: i'm sure someone knows the answer to this... Pin
27-Jun-01 1:19
suss27-Jun-01 1:19 
GeneralQuestion About IWebBrowser2 Pin
Hushpappy26-Jun-01 22:30
Hushpappy26-Jun-01 22:30 
GeneralProblem with Threads Pin
yamini26-Jun-01 22:23
yamini26-Jun-01 22:23 
GeneralRe: Problem with Threads Pin
Hushpappy26-Jun-01 22:33
Hushpappy26-Jun-01 22:33 
GeneralRe: Problem with Threads Pin
yamini26-Jun-01 22:51
yamini26-Jun-01 22:51 
GeneralRe: Problem with Threads Pin
Bob Groves27-Jun-01 1:37
Bob Groves27-Jun-01 1:37 
GeneralRe: Problem with Threads Pin
Joe Moldovan27-Jun-01 8:32
Joe Moldovan27-Jun-01 8:32 
GeneralView in a Dialog window Pin
26-Jun-01 21:19
suss26-Jun-01 21:19 
GeneralRe: View in a Dialog window Pin
Michael P Butler26-Jun-01 22:29
Michael P Butler26-Jun-01 22:29 
GeneralRe: View in a Dialog window Pin
27-Jun-01 21:47
suss27-Jun-01 21:47 
GeneralRe: View in a Dialog window Pin
Michael P Butler27-Jun-01 22:23
Michael P Butler27-Jun-01 22:23 

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.