Click here to Skip to main content
15,891,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: is C++ programs portable?? Pin
toxcct25-Jan-04 22:44
toxcct25-Jan-04 22:44 
Generalstd::list question Pin
bneacetp24-Jan-04 15:31
bneacetp24-Jan-04 15:31 
GeneralRe: std::list question Pin
PJ Arends24-Jan-04 18:05
professionalPJ Arends24-Jan-04 18:05 
GeneralRe: std::list question Pin
bneacetp24-Jan-04 18:17
bneacetp24-Jan-04 18:17 
GeneralRe: std::list question Pin
bneacetp28-Jan-04 23:20
bneacetp28-Jan-04 23:20 
GeneralRe: std::list question Pin
PJ Arends31-Jan-04 6:00
professionalPJ Arends31-Jan-04 6:00 
Generalstatic member functions & multithreading Pin
Ernesto D.24-Jan-04 13:58
Ernesto D.24-Jan-04 13:58 
GeneralRe: static member functions & multithreading Pin
Michael Dunn24-Jan-04 19:01
sitebuilderMichael Dunn24-Jan-04 19:01 
static means different things when applied to a member function versus a member variable. static on a method means that the method does not receive a this pointer. There's no concept of "instances" for methods - the compiler generates the code for the method, and threads run that code whenever you call the method.
So you can have many threads calling the same method with no problems. (Of course, you have to protect any data from simultaneous access if necessary, but that's another topic altogether.)

--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | 1ClickPicGrabber New v2.0.1! | RightClick-Encrypt
Kosh reminded me of some of the prima-donna programmers I've worked with. Knew everything but when you asked them a question; never gave you a straight answer.
  -- Michael P. Butler in the Lounge

GeneralRe: static member functions & multithreading Pin
Ernesto D.26-Jan-04 12:04
Ernesto D.26-Jan-04 12:04 
GeneralRe: static member functions & multithreading Pin
Michael Dunn26-Jan-04 12:30
sitebuilderMichael Dunn26-Jan-04 12:30 
GeneralRe: static member functions & multithreading Pin
Gerald Schwab25-Jan-04 17:03
Gerald Schwab25-Jan-04 17:03 
GeneralRe: static member functions & multithreading Pin
Ernesto D.26-Jan-04 12:02
Ernesto D.26-Jan-04 12:02 
GeneralSuspend Program Execution Pin
Daniel132424-Jan-04 13:17
Daniel132424-Jan-04 13:17 
GeneralRe: Suspend Program Execution Pin
wb25-Jan-04 4:31
wb25-Jan-04 4:31 
GeneralRe: Suspend Program Execution Pin
Daniel132425-Jan-04 7:43
Daniel132425-Jan-04 7:43 
GeneralStretchDIBits returns weird artifacts Pin
cnstrnd24-Jan-04 13:08
cnstrnd24-Jan-04 13:08 
GeneralRe: StretchDIBits returns weird artifacts Pin
CodeBrain25-Jan-04 21:53
CodeBrain25-Jan-04 21:53 
GeneralAccelerators Pin
Deian24-Jan-04 13:06
Deian24-Jan-04 13:06 
GeneralRe: Accelerators Pin
eugi25-Jan-04 0:55
eugi25-Jan-04 0:55 
GeneralRe: Accelerators Pin
Deian25-Jan-04 7:04
Deian25-Jan-04 7:04 
GeneralAccess Child Windows in IE Pin
gaz200424-Jan-04 12:24
sussgaz200424-Jan-04 12:24 
GeneralRe: Access Child Windows in IE Pin
Marcello25-Jan-04 11:11
Marcello25-Jan-04 11:11 
Generalerror LNK2001: unresolved external symbol "public: __ Pin
BrockVnm24-Jan-04 9:44
BrockVnm24-Jan-04 9:44 
GeneralRe: error LNK2001: unresolved external symbol "public: __ Pin
Amit Dey24-Jan-04 11:38
Amit Dey24-Jan-04 11:38 
GeneralRe: error LNK2001: unresolved external symbol "public: __ Pin
BrockVnm24-Jan-04 11:48
BrockVnm24-Jan-04 11:48 

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.