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

C / C++ / MFC

 
GeneralMulti page TIF Pin
28-Jun-01 0:30
suss28-Jun-01 0:30 
GeneralRe: Multi page TIF Pin
PhoenixHawke23-Aug-07 8:57
PhoenixHawke23-Aug-07 8:57 
QuestionHow do i implement a context menu and a Right Mouse button Double click at the same time? Pin
28-Jun-01 0:27
suss28-Jun-01 0:27 
AnswerRe: How do i implement a context menu and a Right Mouse button Double click at the same time? Pin
Tomasz Sowinski28-Jun-01 0:39
Tomasz Sowinski28-Jun-01 0:39 
GeneralAPI question - dealing with messages Pin
Gennady Oster28-Jun-01 0:22
Gennady Oster28-Jun-01 0:22 
GeneralRe: API question - dealing with messages Pin
Tomasz Sowinski28-Jun-01 0:48
Tomasz Sowinski28-Jun-01 0:48 
GeneralRe: API question - dealing with messages Pin
Gennady Oster28-Jun-01 1:22
Gennady Oster28-Jun-01 1:22 
Generalcout<< Pin
Rejeesh28-Jun-01 0:00
Rejeesh28-Jun-01 0:00 
In the below given program, 'cout' in the destructor doesn't work. But if the iostream is replaced with iostream.h and the statement using namespace std; is commented then, it works fine and displays - "Hello how are you?"

Can anyone explain why is it so?

#include iostream
using namespace std;

struct A
{
A(){cout<<"Hello";}

~A(){cout<<" you?";}
}a;

void main( void )
{
cout<<" how are";
}


//"void (*p[10]) (void (*)());"
GeneralRe: cout<< Pin
markkuk28-Jun-01 1:05
markkuk28-Jun-01 1:05 
GeneralRe: cout<< Pin
Rejeesh28-Jun-01 1:33
Rejeesh28-Jun-01 1:33 
GeneralRe: cout<< Pin
Alvaro Mendez28-Jun-01 5:26
Alvaro Mendez28-Jun-01 5:26 
GeneralRe: cout<< Pin
Mike Nordell30-Jun-01 11:49
Mike Nordell30-Jun-01 11:49 
QuestionAnybody knows why this compiles ? Pin
27-Jun-01 23:58
suss27-Jun-01 23:58 
AnswerRe: Anybody knows why this compiles ? Pin
Tomasz Sowinski28-Jun-01 0:12
Tomasz Sowinski28-Jun-01 0:12 
GeneralRe: Anybody knows why this compiles ? Pin
28-Jun-01 0:16
suss28-Jun-01 0:16 
GeneralVery silly problem from newbie! Pin
27-Jun-01 23:22
suss27-Jun-01 23:22 
GeneralRe: Very silly problem from newbie! Pin
Christian Graus27-Jun-01 23:24
protectorChristian Graus27-Jun-01 23:24 
Questionm_hinstance of a service? Pin
Joan M27-Jun-01 23:19
professionalJoan M27-Jun-01 23:19 
Questionhow to save jpg/bmp ? Pin
27-Jun-01 22:30
suss27-Jun-01 22:30 
AnswerRe: how to save jpg/bmp ? Pin
Christian Graus27-Jun-01 23:26
protectorChristian Graus27-Jun-01 23:26 
QuestionHow to make a window appear active, while a modal dialog is open. Pin
John Jensen27-Jun-01 21:54
John Jensen27-Jun-01 21:54 
AnswerRe: How to make a window appear active, while a modal dialog is open. Pin
Tomasz Sowinski27-Jun-01 23:46
Tomasz Sowinski27-Jun-01 23:46 
GeneralRe: How to make a window appear active, while a modal dialog is open. Pin
John Jensen28-Jun-01 0:15
John Jensen28-Jun-01 0:15 
GeneralRe: How to make a window appear active, while a modal dialog is open. Pin
Tomasz Sowinski28-Jun-01 0:30
Tomasz Sowinski28-Jun-01 0:30 
GeneralRe: How to make a window appear active, while a modal dialog is open. Pin
John Jensen28-Jun-01 0:38
John Jensen28-Jun-01 0:38 

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.