Click here to Skip to main content
16,005,339 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionabout write code from ASM. Pin
HOW WHAT7-Mar-06 6:05
HOW WHAT7-Mar-06 6:05 
QuestionHey - what happened to "how to get an answer to your question"? Pin
James R. Twine7-Mar-06 5:23
James R. Twine7-Mar-06 5:23 
AnswerRe: Hey - what happened to "how to get an answer to your question"? Pin
Nish Nishant7-Mar-06 5:25
sitebuilderNish Nishant7-Mar-06 5:25 
GeneralRe: Hey - what happened to "how to get an answer to your question"? Pin
James R. Twine7-Mar-06 5:28
James R. Twine7-Mar-06 5:28 
AnswerRe: Hey - what happened to "how to get an answer to your question"? Pin
David Crow7-Mar-06 5:32
David Crow7-Mar-06 5:32 
Questionwhat is private & static function-MFC Pin
beardy janggut7-Mar-06 5:18
beardy janggut7-Mar-06 5:18 
AnswerRe: what is private & static function-MFC Pin
Nish Nishant7-Mar-06 5:27
sitebuilderNish Nishant7-Mar-06 5:27 
AnswerRe: what is private & static function-MFC Pin
toxcct7-Mar-06 5:37
toxcct7-Mar-06 5:37 
whenever Nish is right saying you should learn C++ first, i'll give it a go, so that every one can share.

as you certainly know, private members can be used from within the class only. private data members can be used only by member functions of the class, and private member functions can be called only by other member functions of the same class.

static only means that the function don't get the implicit this pointer parameter which is caracteristic of the non-static member functions. a static member function can only access static data members so, because they are not proper to an object but shared commonly by all the instances of the class. this have nothing to do with the scope, and nothing forbids a private member function to be static.

it will be able to be called only by member functions (as it is private), and will access only static data members (because of its static state).

don't make the confusion anyway, MFC is not a specific language. everything done inside MFC is pure C++. MFC simply provides some classes and functionnalities to ease Windows programming.

hope this helps...
AnswerRe: what is private & static function-MFC Pin
Gary R. Wheeler7-Mar-06 5:57
Gary R. Wheeler7-Mar-06 5:57 
AnswerRe: what is private & static function-MFC Pin
Eytukan7-Mar-06 20:43
Eytukan7-Mar-06 20:43 
QuestionHOTKEY......(Urgent pls) Pin
RockyJames7-Mar-06 5:07
RockyJames7-Mar-06 5:07 
Answer[Message Deleted] Pin
ddmcr7-Mar-06 5:24
ddmcr7-Mar-06 5:24 
GeneralRe: HOTKEY......(Urgent pls) Pin
RockyJames7-Mar-06 5:52
RockyJames7-Mar-06 5:52 
Questionformatted file io Pin
ronwurster7-Mar-06 5:04
ronwurster7-Mar-06 5:04 
AnswerRe: formatted file io Pin
David Crow7-Mar-06 5:32
David Crow7-Mar-06 5:32 
GeneralRe: formatted file io Pin
ronwurster7-Mar-06 10:53
ronwurster7-Mar-06 10:53 
GeneralRe: formatted file io Pin
David Crow8-Mar-06 2:20
David Crow8-Mar-06 2:20 
AnswerRe: formatted file io Pin
eusto7-Mar-06 9:52
eusto7-Mar-06 9:52 
Questionwhich pad.exe do u use to submit software? Pin
includeh107-Mar-06 4:48
includeh107-Mar-06 4:48 
AnswerRe: which pad.exe do u use to submit software? Pin
James R. Twine7-Mar-06 4:52
James R. Twine7-Mar-06 4:52 
GeneralRe: which pad.exe do u use to submit software? Pin
includeh107-Mar-06 5:02
includeh107-Mar-06 5:02 
GeneralRe: which pad.exe do u use to submit software? Pin
James R. Twine7-Mar-06 5:27
James R. Twine7-Mar-06 5:27 
QuestionRotating a 2D line Pin
FarPointer7-Mar-06 4:16
FarPointer7-Mar-06 4:16 
AnswerRe: Rotating a 2D line Pin
includeh107-Mar-06 4:50
includeh107-Mar-06 4:50 
GeneralRe: Rotating a 2D line Pin
FarPointer7-Mar-06 5:13
FarPointer7-Mar-06 5:13 

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.