Click here to Skip to main content
15,916,835 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionPrinter Monitoring Pin
micutzu9-Jan-06 1:44
micutzu9-Jan-06 1:44 
AnswerRe: Printer Monitoring Pin
David Crow9-Jan-06 3:09
David Crow9-Jan-06 3:09 
GeneralRe: Printer Monitoring Pin
Dudi Avramov9-Jan-06 4:07
Dudi Avramov9-Jan-06 4:07 
GeneralRe: Printer Monitoring Pin
David Crow9-Jan-06 4:18
David Crow9-Jan-06 4:18 
GeneralRe: Printer Monitoring Pin
micutzu10-Jan-06 1:55
micutzu10-Jan-06 1:55 
Questioncreate window Pin
Anu_Bala9-Jan-06 1:04
Anu_Bala9-Jan-06 1:04 
AnswerRe: create window Pin
toxcct9-Jan-06 2:06
toxcct9-Jan-06 2:06 
Question\0 esc-characters in 4-byte-characters Pin
bytefactory9-Jan-06 0:54
bytefactory9-Jan-06 0:54 
i run in a very strange c++ compiler problem.

until now i used the definition 'id' which gave me the right value ( = 0x00006964 ).
because i compile under window, mac and linux and the mac gcc compiler complains about wrong 4-byte-characters i added '\0\0id' to the definition which should give in my opinion the same result. but the vc++ and intel c++ compiler generates other values.

'id' = 0x00006964
'\0\0id' = 0x64690000

' id' = 0x20206964
'\40\40id' = 0x64692020

the most interesting things are the last 2 lines. what is the difference between a space written as space or as a esc-character? ... why does the compiler generates swapped values?

that doesn't makes sense to me ... any hints would be great ...

thanks
tilo

AnswerRe: \0 esc-characters in 4-byte-characters Pin
Chris Losinger9-Jan-06 1:34
professionalChris Losinger9-Jan-06 1:34 
GeneralRe: \0 esc-characters in 4-byte-characters Pin
bytefactory9-Jan-06 1:37
bytefactory9-Jan-06 1:37 
GeneralRe: \0 esc-characters in 4-byte-characters Pin
Chris Losinger9-Jan-06 1:43
professionalChris Losinger9-Jan-06 1:43 
GeneralRe: \0 esc-characters in 4-byte-characters Pin
bytefactory9-Jan-06 1:51
bytefactory9-Jan-06 1:51 
GeneralRe: \0 esc-characters in 4-byte-characters Pin
Chris Losinger9-Jan-06 2:15
professionalChris Losinger9-Jan-06 2:15 
GeneralRe: \0 esc-characters in 4-byte-characters Pin
bytefactory9-Jan-06 2:50
bytefactory9-Jan-06 2:50 
GeneralRe: \0 esc-characters in 4-byte-characters Pin
Chris Losinger9-Jan-06 3:00
professionalChris Losinger9-Jan-06 3:00 
GeneralRe: \0 esc-characters in 4-byte-characters Pin
bytefactory9-Jan-06 3:23
bytefactory9-Jan-06 3:23 
GeneralRe: \0 esc-characters in 4-byte-characters Pin
Sebastian Schneider9-Jan-06 3:01
Sebastian Schneider9-Jan-06 3:01 
Questioncreate new window Pin
Anu_Bala9-Jan-06 0:44
Anu_Bala9-Jan-06 0:44 
AnswerRe: create new window Pin
Anilkumar K V9-Jan-06 0:49
Anilkumar K V9-Jan-06 0:49 
AnswerRe: create new window Pin
toxcct9-Jan-06 0:55
toxcct9-Jan-06 0:55 
GeneralRe: create new window Pin
Eytukan9-Jan-06 2:55
Eytukan9-Jan-06 2:55 
GeneralRe: create new window Pin
toxcct9-Jan-06 3:00
toxcct9-Jan-06 3:00 
GeneralRe: create new window Pin
Eytukan9-Jan-06 3:13
Eytukan9-Jan-06 3:13 
General[OT] Pin
toxcct9-Jan-06 3:21
toxcct9-Jan-06 3:21 
GeneralRe: [OT] Pin
Eytukan9-Jan-06 3:25
Eytukan9-Jan-06 3:25 

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.