Click here to Skip to main content
16,009,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: STL ? Pin
Rage26-Jun-02 21:48
professionalRage26-Jun-02 21:48 
QuestionCan you use a template class member variable within a template class? Pin
26-Jun-02 6:56
suss26-Jun-02 6:56 
AnswerRe: Can you use a template class member variable within a template class? Pin
Chris Losinger26-Jun-02 7:04
professionalChris Losinger26-Jun-02 7:04 
GeneralRe: Can you use a template class member variable within a template class? Pin
26-Jun-02 7:05
suss26-Jun-02 7:05 
AnswerRe: Can you use a template class member variable within a template class? Pin
Joaquín M López Muñoz26-Jun-02 7:05
Joaquín M López Muñoz26-Jun-02 7:05 
GeneralRe: Can you use a template class member variable within a template class? Pin
26-Jun-02 7:06
suss26-Jun-02 7:06 
AnswerRe: Can you use a template class member variable within a template class? Pin
Brian Delahunty26-Jun-02 7:19
Brian Delahunty26-Jun-02 7:19 
GeneralSocket in non-blocking mode Pin
26-Jun-02 6:38
suss26-Jun-02 6:38 
Suppose we are making simple client server application.
We use a function "connect()" in client source code to connect to the server. By default this function is in blocking mode. As such when we try to connect, the program sticks at a particular location and only when this function returns, the program flow continues. This function return 0 on success.
Let suppose, the socket is in non-blocking mode, as such when we use connect(), the program flow not stop as this function immediately return and our application is free to do something else. In this case the connect() function immediately returns with error something like, WSAERRWOUILDBLOCK.

Now the problem is that how we will be able to know after some time that the connection actually established or not ??
Infact in blocking mode connect() waits for a while and returns 0 on success. But in non blocking mode connect() immediately returns and does its working on background. So how we will be able to know whether connect() established connection or not ???
GeneralRe: Socket in non-blocking mode Pin
Joaquín M López Muñoz26-Jun-02 7:07
Joaquín M López Muñoz26-Jun-02 7:07 
GeneralRe: Socket in non-blocking mode Pin
valikac26-Jun-02 7:09
valikac26-Jun-02 7:09 
GeneralDatabase ( table Update/Delete) Pin
26-Jun-02 6:15
suss26-Jun-02 6:15 
GeneralRe: Database ( table Update/Delete) Pin
Ramu Pulipati26-Jun-02 8:30
Ramu Pulipati26-Jun-02 8:30 
GeneralON_UPDATE_COMMAND_UI and CDialog's Pin
Sprudling26-Jun-02 6:11
Sprudling26-Jun-02 6:11 
GeneralRe: ON_UPDATE_COMMAND_UI and CDialog's Pin
udayGovekar26-Jun-02 6:42
udayGovekar26-Jun-02 6:42 
GeneralRe: ON_UPDATE_COMMAND_UI and CDialog's Pin
Ernest Laurentin26-Jun-02 8:41
Ernest Laurentin26-Jun-02 8:41 
GeneralRe: ON_UPDATE_COMMAND_UI and CDialog's Pin
Sprudling26-Jun-02 22:20
Sprudling26-Jun-02 22:20 
GeneralArray to.bmp file Pin
Knowledge Seeker26-Jun-02 6:06
Knowledge Seeker26-Jun-02 6:06 
GeneralCException::GetErrorMessage causing an ASSERT Pin
Navin26-Jun-02 5:52
Navin26-Jun-02 5:52 
GeneralRe: CException::GetErrorMessage causing an ASSERT Pin
Joaquín M López Muñoz26-Jun-02 7:13
Joaquín M López Muñoz26-Jun-02 7:13 
GeneralRe: CException::GetErrorMessage causing an ASSERT Pin
Navin26-Jun-02 7:20
Navin26-Jun-02 7:20 
GeneralRe: CException::GetErrorMessage causing an ASSERT Pin
Joaquín M López Muñoz26-Jun-02 7:52
Joaquín M López Muñoz26-Jun-02 7:52 
GeneralRe: CException::GetErrorMessage causing an ASSERT Pin
Navin26-Jun-02 8:03
Navin26-Jun-02 8:03 
GeneralAHA! Pin
Navin26-Jun-02 8:16
Navin26-Jun-02 8:16 
GeneralMs Word Automation margins Pin
Braulio Dez26-Jun-02 5:47
Braulio Dez26-Jun-02 5:47 
GeneralSAFEARRAY in Variant Pin
Hans Ruck26-Jun-02 5:43
Hans Ruck26-Jun-02 5:43 

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.