Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to use code coverage in VC 2005? Pin
Azbok20-Jan-06 15:25
Azbok20-Jan-06 15:25 
QuestionNewbie question - data storage Pin
ruzu20-Jan-06 14:57
ruzu20-Jan-06 14:57 
AnswerRe: Newbie question - data storage Pin
Stephen Hewitt20-Jan-06 15:07
Stephen Hewitt20-Jan-06 15:07 
GeneralRe: Newbie question - data storage Pin
ruzu21-Jan-06 3:13
ruzu21-Jan-06 3:13 
AnswerRe: Newbie question - data storage Pin
Lilith.C21-Jan-06 4:19
Lilith.C21-Jan-06 4:19 
GeneralRe: Newbie question - data storage Pin
ruzu21-Jan-06 5:21
ruzu21-Jan-06 5:21 
GeneralRe: Newbie question - data storage Pin
Stephen Hewitt21-Jan-06 17:36
Stephen Hewitt21-Jan-06 17:36 
QuestionRe: Newbie question - data storage Pin
Lilith.C20-Jan-06 16:59
Lilith.C20-Jan-06 16:59 
This raises a question for the assembled experts here. Under most circumstances a variable declared as static in a function retains its last value on re-entry to the function. I can understand if an object is destroyed and re-created that the variable resets. Variables declared as static in a class are available (common) to all objects of the class. Static class methods don't receive the 'this' pointer to the object.

Now, what about static variables inside class methods? Do they still retain their value on exit upon re-entry? Or is there something about the way classes act that changes this behavior?

Lilith
AnswerRe: Newbie question - data storage Pin
Stephen Hewitt20-Jan-06 19:32
Stephen Hewitt20-Jan-06 19:32 
QuestionDetermine if running during logon process. Pin
ShawnTassie20-Jan-06 7:51
ShawnTassie20-Jan-06 7:51 
AnswerRe: Determine if running during logon process. Pin
Toby Opferman20-Jan-06 8:02
Toby Opferman20-Jan-06 8:02 
GeneralRe: Determine if running during logon process. Pin
ShawnTassie20-Jan-06 8:12
ShawnTassie20-Jan-06 8:12 
AnswerRe: Determine if running during logon process. Pin
Rama Krishna Vavilala20-Jan-06 8:54
Rama Krishna Vavilala20-Jan-06 8:54 
GeneralRe: Determine if running during logon process. Pin
ShawnTassie20-Jan-06 9:30
ShawnTassie20-Jan-06 9:30 
GeneralRe: Determine if running during logon process. Pin
Rama Krishna Vavilala20-Jan-06 9:46
Rama Krishna Vavilala20-Jan-06 9:46 
GeneralRe: Determine if running during logon process. Pin
Toby Opferman20-Jan-06 9:41
Toby Opferman20-Jan-06 9:41 
GeneralRe: Determine if running during logon process. Pin
Rama Krishna Vavilala20-Jan-06 9:50
Rama Krishna Vavilala20-Jan-06 9:50 
GeneralRe: Determine if running during logon process. Pin
ShawnTassie20-Jan-06 9:52
ShawnTassie20-Jan-06 9:52 
GeneralRe: Determine if running during logon process. Pin
Toby Opferman20-Jan-06 10:24
Toby Opferman20-Jan-06 10:24 
GeneralRe: Determine if running during logon process. Pin
ShawnTassie20-Jan-06 15:01
ShawnTassie20-Jan-06 15:01 
GeneralRe: Determine if running during logon process. Pin
Toby Opferman20-Jan-06 19:11
Toby Opferman20-Jan-06 19:11 
GeneralRe: Determine if running during logon process. Pin
ShawnTassie21-Jan-06 2:21
ShawnTassie21-Jan-06 2:21 
AnswerRe: Determine if running during logon process. Pin
ShawnTassie21-Jan-06 4:29
ShawnTassie21-Jan-06 4:29 
QuestionProfeller Pin
need4change20-Jan-06 7:15
need4change20-Jan-06 7:15 
QuestionRe: Profeller Pin
David Crow20-Jan-06 7:21
David Crow20-Jan-06 7:21 

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.