Click here to Skip to main content
15,881,803 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
Richard MacCutchan24-Jan-23 2:20
mveRichard MacCutchan24-Jan-23 2:20 
GeneralRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
CPallini24-Jan-23 2:32
mveCPallini24-Jan-23 2:32 
AnswerRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
Randor 24-Jan-23 3:49
professional Randor 24-Jan-23 3:49 
GeneralRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
harold aptroot24-Jan-23 8:42
harold aptroot24-Jan-23 8:42 
QuestionRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
Randor 24-Jan-23 9:06
professional Randor 24-Jan-23 9:06 
GeneralRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
harold aptroot24-Jan-23 9:26
harold aptroot24-Jan-23 9:26 
QuestionMessage Closed Pin
21-Jan-23 9:57
Member 1496877121-Jan-23 9:57 
AnswerRe: "C++ is static (language)..." Pin
Mircea Neacsu21-Jan-23 10:59
Mircea Neacsu21-Jan-23 10:59 
The fact that C/C++ is a staticly-typed language has nothing to do with static member functions. In turn these have very little to do with static functions in general. They are just 3 different uses for the same word.

Member 14968771 wrote:
If I have a C+_+ class and the function is defined as "static" - what is so different from function which is NOT defined as NOT static ?

Regular member functions have one extra hidden parameter, the "this" pointer, that points to the object on which they are called. Static member functions don't have this hidden parameter and are very much like any regular function except for some scoping rules.

"Static", like "object" and "module" are a very abused words in programming.
Mircea

AnswerRe: "C++ is static (language)..." Pin
Richard MacCutchan21-Jan-23 22:06
mveRichard MacCutchan21-Jan-23 22:06 
AnswerRe: "C++ is static (language)..." Pin
jschell22-Jan-23 8:17
jschell22-Jan-23 8:17 
QuestionCan you make a serial port hooking program? Pin
Member 1590067020-Jan-23 21:07
Member 1590067020-Jan-23 21:07 
AnswerRe: Can you make a serial port hooking program? Pin
Richard MacCutchan20-Jan-23 22:10
mveRichard MacCutchan20-Jan-23 22:10 
AnswerRe: Can you make a serial port hooking program? Pin
CPallini21-Jan-23 3:00
mveCPallini21-Jan-23 3:00 
AnswerRe: Can you make a serial port hooking program? Pin
jschell22-Jan-23 8:23
jschell22-Jan-23 8:23 
AnswerRe: Can you make a serial port hooking program? Pin
charlieg28-Jan-23 8:58
charlieg28-Jan-23 8:58 
QuestionMessage Closed Pin
18-Jan-23 7:36
Member 1496877118-Jan-23 7:36 
AnswerRe: foreach() ?? Pin
Mircea Neacsu18-Jan-23 7:41
Mircea Neacsu18-Jan-23 7:41 
AnswerRe: foreach() ?? Pin
CPallini18-Jan-23 7:51
mveCPallini18-Jan-23 7:51 
GeneralMessage Closed Pin
21-Jan-23 10:04
Member 1496877121-Jan-23 10:04 
GeneralRe: foreach() ?? Pin
jschell22-Jan-23 8:26
jschell22-Jan-23 8:26 
QuestionCRichedit and CDC Pin
ForNow18-Jan-23 2:51
ForNow18-Jan-23 2:51 
AnswerMessage Closed Pin
19-Jan-23 23:08
professionalunitedsol zain19-Jan-23 23:08 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 2:24
ForNow20-Jan-23 2:24 
GeneralRe: CRichedit and CDC Pin
Richard MacCutchan20-Jan-23 2:37
mveRichard MacCutchan20-Jan-23 2:37 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 3:09
ForNow20-Jan-23 3: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.