Click here to Skip to main content
15,909,498 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: CString to unsigned char [modified] Pin
Nibu babu thomas2-Jun-08 17:49
Nibu babu thomas2-Jun-08 17:49 
GeneralRe: CString to unsigned char Pin
rp_suman2-Jun-08 18:22
rp_suman2-Jun-08 18:22 
GeneralRe: CString to unsigned char Pin
Nibu babu thomas2-Jun-08 18:57
Nibu babu thomas2-Jun-08 18:57 
GeneralRe: CString to unsigned char Pin
rp_suman2-Jun-08 18:45
rp_suman2-Jun-08 18:45 
QuestionNo of v-tables??? Pin
Super Hornet2-Jun-08 16:44
Super Hornet2-Jun-08 16:44 
AnswerRe: No of v-tables??? Pin
Paresh Chitte2-Jun-08 18:33
Paresh Chitte2-Jun-08 18:33 
AnswerRe: No of v-tables??? Pin
_AnsHUMAN_ 2-Jun-08 18:37
_AnsHUMAN_ 2-Jun-08 18:37 
QuestionHow to compare stderr to stdout Pin
DQNOK2-Jun-08 10:26
professionalDQNOK2-Jun-08 10:26 
In a console app, I want to be able to test whether stdout and stderr are both printing to the screen. My output is messy unless I get it right (I'm printing to both stdout, and to stderr, and if they both happen to be the screen, I get two copies; I only want one copy on the screen).

A line like
<br />
if( stdout == stderr )<br />

always tests false under all the Windows compilers I've tried, so I get the duplication I'm trying to avoid.

Any ideas?

David
---------
Empirical studies indicate that 20% of the people drink 80% of the beer. With C++ developers, the rule is that 80% of the developers understand at most 20% of the language. It is not the same 20% for different people, so don't count on them to understand each other's code.
http://yosefk.com/c++fqa/picture.html#fqa-6.6

---------

QuestionRe: How to compare stderr to stdout Pin
David Crow2-Jun-08 11:01
David Crow2-Jun-08 11:01 
AnswerRe: How to compare stderr to stdout Pin
DQNOK2-Jun-08 11:11
professionalDQNOK2-Jun-08 11:11 
AnswerRe: How to compare stderr to stdout Pin
Nibu babu thomas2-Jun-08 17:11
Nibu babu thomas2-Jun-08 17:11 
GeneralRe: How to compare stderr to stdout Pin
DQNOK3-Jun-08 3:22
professionalDQNOK3-Jun-08 3:22 
GeneralRe: How to compare stderr to stdout Pin
DQNOK3-Jun-08 8:43
professionalDQNOK3-Jun-08 8:43 
AnswerRe: How to compare stderr to stdout Pin
maxie20052-Jun-08 19:12
maxie20052-Jun-08 19:12 
GeneralRe: How to compare stderr to stdout Pin
DQNOK3-Jun-08 3:17
professionalDQNOK3-Jun-08 3:17 
Question'LONG' to 'int' [modified] Pin
Queeny2-Jun-08 10:14
Queeny2-Jun-08 10:14 
QuestionRe: 'LONG' to 'int' Pin
Mark Salsbery2-Jun-08 10:25
Mark Salsbery2-Jun-08 10:25 
AnswerRe: 'LONG' to 'int' Pin
Queeny2-Jun-08 14:43
Queeny2-Jun-08 14:43 
GeneralRe: 'LONG' to 'int' Pin
Mark Salsbery3-Jun-08 4:58
Mark Salsbery3-Jun-08 4:58 
AnswerRe: 'LONG' to 'int' Pin
DQNOK2-Jun-08 10:36
professionalDQNOK2-Jun-08 10:36 
AnswerRe: 'LONG' to 'int' Pin
Kwanalouie2-Jun-08 14:58
Kwanalouie2-Jun-08 14:58 
AnswerRe: 'LONG' to 'int' Pin
Akt_4_U2-Jun-08 20:44
Akt_4_U2-Jun-08 20:44 
QuestionChar * to wstring conversion Pin
jinbabaj2-Jun-08 7:37
jinbabaj2-Jun-08 7:37 
QuestionRe: Char * to wstring conversion Pin
David Crow2-Jun-08 7:56
David Crow2-Jun-08 7:56 
AnswerRe: Char * to wstring conversion Pin
Nemanja Trifunovic2-Jun-08 8:33
Nemanja Trifunovic2-Jun-08 8:33 

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.