Click here to Skip to main content
16,005,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: to make a tab key work Pin
Rajesh R Subramanian26-Oct-06 21:42
professionalRajesh R Subramanian26-Oct-06 21:42 
GeneralRe: to make a tab key work Pin
prithaa26-Oct-06 22:07
prithaa26-Oct-06 22:07 
GeneralRe: to make a tab key work Pin
Rajesh R Subramanian26-Oct-06 22:12
professionalRajesh R Subramanian26-Oct-06 22:12 
GeneralRe: to make a tab key work Pin
ThatsAlok28-Oct-06 1:24
ThatsAlok28-Oct-06 1:24 
QuestionConvertingDWord to String. Problems using right shift operator Pin
Monk11126-Oct-06 6:10
Monk11126-Oct-06 6:10 
AnswerRe: ConvertingDWord to String. Problems using right shift operator Pin
PJ Arends26-Oct-06 7:43
professionalPJ Arends26-Oct-06 7:43 
AnswerRe: ConvertingDWord to String. Problems using right shift operator Pin
Mark Salsbery26-Oct-06 8:28
Mark Salsbery26-Oct-06 8:28 
GeneralRe: ConvertingDWord to String. Problems using right shift operator Pin
Monk11126-Oct-06 21:00
Monk11126-Oct-06 21:00 
I don't know if this was a typo but
1 0000 0000 Right shift >> 16 gives 0000 0000 0000 0001
is wrong. Should be
1 0000 0000 Right shift >> 16 gives 0000 0000 0000 0000
1 0000 0000 Right shift >> 24 gives 0000 0000 0000 0000


I think I may have confused you with the way I have written it. I haven't shown them as falling off the end. If you look at where I use the AND function they are represented exactly as you have stated above. Sorry about the confusion. I've tried to clear it up in the original post.

So can someone tell me what the final str would output would be? I'm unable to run the whole program due to certain hardware restrictions so I've created a little test piece of code to view the final result. I get the following

Output str[0]=
Output str[1]=☺
Output str[2]=
Output str[3]=
Str =

The trouble is I then want to concatenate this final str to another string later on but I don't know what str actually is. Is it 0x00010000? But this is in hex should it not be as a char?

Confused | :confused:
GeneralRe: ConvertingDWord to String. Problems using right shift operator Pin
Mark Salsbery27-Oct-06 6:01
Mark Salsbery27-Oct-06 6:01 
QuestionSoftware Required to be Developed Pin
Alleyes26-Oct-06 5:34
Alleyes26-Oct-06 5:34 
AnswerRe: Software Required to be Developed Pin
toxcct26-Oct-06 5:55
toxcct26-Oct-06 5:55 
GeneralRe: Software Required to be Developed Pin
Trollslayer26-Oct-06 8:25
mentorTrollslayer26-Oct-06 8:25 
GeneralRe: Software Required to be Developed Pin
Lord Kixdemp26-Oct-06 10:53
Lord Kixdemp26-Oct-06 10:53 
GeneralRe: Software Required to be Developed Pin
ThatsAlok28-Oct-06 1:23
ThatsAlok28-Oct-06 1:23 
QuestionCPPUnit - writing test results in xml file Pin
jayart26-Oct-06 5:24
jayart26-Oct-06 5:24 
AnswerRe: CPPUnit - writing test results in xml file Pin
Wes Aday26-Oct-06 6:09
professionalWes Aday26-Oct-06 6:09 
GeneralRe: CPPUnit - writing test results in xml file Pin
jayart26-Oct-06 6:28
jayart26-Oct-06 6:28 
QuestionCreating a Picture Box Control Pin
jerry1211a26-Oct-06 5:04
jerry1211a26-Oct-06 5:04 
AnswerRe: Creating a Picture Box Control Pin
Mark Salsbery26-Oct-06 5:56
Mark Salsbery26-Oct-06 5:56 
GeneralRe: Creating a Picture Box Control Pin
jerry1211a26-Oct-06 7:43
jerry1211a26-Oct-06 7:43 
AnswerRe: Creating a Picture Box Control Pin
Hamid_RT26-Oct-06 19:40
Hamid_RT26-Oct-06 19:40 
QuestionHandle of child windows Pin
Max++26-Oct-06 4:26
Max++26-Oct-06 4:26 
AnswerRe: Handle of child windows Pin
Jonathan [Darka]26-Oct-06 5:05
professionalJonathan [Darka]26-Oct-06 5:05 
AnswerRe: Handle of child windows Pin
Stephen Hewitt26-Oct-06 13:30
Stephen Hewitt26-Oct-06 13:30 
Questionsending address of a variable to the parent Pin
prithaa26-Oct-06 4:20
prithaa26-Oct-06 4:20 

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.