Click here to Skip to main content
15,849,262 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
Richard MacCutchan24-Jan-23 3:20
mveRichard MacCutchan24-Jan-23 3:20 
GeneralRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
CPallini24-Jan-23 3:32
mveCPallini24-Jan-23 3:32 
AnswerRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
Randor 24-Jan-23 4:49
professional Randor 24-Jan-23 4:49 
GeneralRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
harold aptroot24-Jan-23 9:42
harold aptroot24-Jan-23 9:42 
QuestionRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
Randor 24-Jan-23 10:06
professional Randor 24-Jan-23 10:06 
GeneralRe: QueryThreadCycleTime, QueryProcessCycleTime: what do these number mean? Pin
harold aptroot24-Jan-23 10:26
harold aptroot24-Jan-23 10:26 
QuestionMessage Closed Pin
21-Jan-23 10:57
Member 1496877121-Jan-23 10:57 
AnswerRe: "C++ is static (language)..." Pin
Mircea Neacsu21-Jan-23 11:59
Mircea Neacsu21-Jan-23 11: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 23:06
mveRichard MacCutchan21-Jan-23 23:06 
AnswerRe: "C++ is static (language)..." Pin
jschell22-Jan-23 9:17
jschell22-Jan-23 9:17 
QuestionCan you make a serial port hooking program? Pin
Member 1590067020-Jan-23 22:07
Member 1590067020-Jan-23 22:07 
AnswerRe: Can you make a serial port hooking program? Pin
Richard MacCutchan20-Jan-23 23:10
mveRichard MacCutchan20-Jan-23 23:10 
AnswerRe: Can you make a serial port hooking program? Pin
CPallini21-Jan-23 4:00
mveCPallini21-Jan-23 4:00 
AnswerRe: Can you make a serial port hooking program? Pin
jschell22-Jan-23 9:23
jschell22-Jan-23 9:23 
AnswerRe: Can you make a serial port hooking program? Pin
charlieg28-Jan-23 9:58
charlieg28-Jan-23 9:58 
QuestionMessage Closed Pin
18-Jan-23 8:36
Member 1496877118-Jan-23 8:36 
AnswerRe: foreach() ?? Pin
Mircea Neacsu18-Jan-23 8:41
Mircea Neacsu18-Jan-23 8:41 
AnswerRe: foreach() ?? Pin
CPallini18-Jan-23 8:51
mveCPallini18-Jan-23 8:51 
GeneralMessage Closed Pin
21-Jan-23 11:04
Member 1496877121-Jan-23 11:04 
GeneralRe: foreach() ?? Pin
jschell22-Jan-23 9:26
jschell22-Jan-23 9:26 
QuestionCRichedit and CDC Pin
ForNow18-Jan-23 3:51
ForNow18-Jan-23 3:51 
AnswerMessage Closed Pin
20-Jan-23 0:08
professionalunitedsol zain20-Jan-23 0:08 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 3:24
ForNow20-Jan-23 3:24 
GeneralRe: CRichedit and CDC Pin
Richard MacCutchan20-Jan-23 3:37
mveRichard MacCutchan20-Jan-23 3:37 
GeneralRe: CRichedit and CDC Pin
ForNow20-Jan-23 4:09
ForNow20-Jan-23 4: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.