Click here to Skip to main content
16,019,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
hmmm ... strange things happens ...

i tried this one here ...

char *p = "\0\0id";
long f = *(long*)p;

if running this code f results in 0x64690000 ... that's exactly the same what the compiler generates with the constant '\0\0id' .. and that's swapped compared to 'id' which results in 0x00006964 ?!?!?!?!

this is one of the days where i don't understand compilers Smile | :) ... i want that the compiler generates the same constant when i write 'id' and '\0\0id' because this is obviously the same (for me!)

cheers
tilo
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 
GeneralRe: [OT] Pin
ThatsAlok9-Jan-06 19:19
ThatsAlok9-Jan-06 19:19 
Questionhow to run c++ program on linux platform Pin
baldha rakesh9-Jan-06 0:30
baldha rakesh9-Jan-06 0:30 
AnswerRe: how to run c++ program on linux platform Pin
Prakash Nadar9-Jan-06 0:38
Prakash Nadar9-Jan-06 0:38 
GeneralRe: how to run c++ program on linux platform Pin
toxcct9-Jan-06 0:42
toxcct9-Jan-06 0:42 
GeneralRe: how to run c++ program on linux platform Pin
Prakash Nadar9-Jan-06 0:45
Prakash Nadar9-Jan-06 0:45 
GeneralRe: how to run c++ program on linux platform Pin
Chris Losinger9-Jan-06 0:46
professionalChris Losinger9-Jan-06 0:46 

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.