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

C / C++ / MFC

 
AnswerRe: deleting the multiple rows in Grid Pin
led mike2-Feb-07 5:05
led mike2-Feb-07 5:05 
GeneralRe: deleting the multiple rows in Grid Pin
reddy harish4-Feb-07 19:03
reddy harish4-Feb-07 19:03 
AnswerRe: deleting the multiple rows in Grid Pin
Hamid_RT3-Feb-07 5:33
Hamid_RT3-Feb-07 5:33 
QuestionHow to remove the AM/PM text in CDateTimeCtrl ? Pin
Hemant kulkarni1-Feb-07 23:19
Hemant kulkarni1-Feb-07 23:19 
AnswerRe: How to remove the AM/PM text in CDateTimeCtrl ? Pin
Naveen2-Feb-07 0:54
Naveen2-Feb-07 0:54 
GeneralRe: How to remove the AM/PM text in CDateTimeCtrl ? Pin
Hemant kulkarni2-Feb-07 2:19
Hemant kulkarni2-Feb-07 2:19 
QuestionVC++ 2005 iostream input problem for unsigned int Pin
Alex Aimer1-Feb-07 23:11
Alex Aimer1-Feb-07 23:11 
AnswerRe: VC++ 2005 iostream input problem for unsigned int Pin
Mark Salsbery2-Feb-07 5:48
Mark Salsbery2-Feb-07 5:48 
GeneralRe: VC++ 2005 iostream input problem for unsigned int Pin
Alex Aimer2-Feb-07 11:51
Alex Aimer2-Feb-07 11:51 
GeneralRe: VC++ 2005 iostream input problem for unsigned int Pin
cp98762-Feb-07 23:22
cp98762-Feb-07 23:22 
GeneralRe: VC++ 2005 iostream input problem for unsigned int Pin
Alex Aimer5-Feb-07 6:35
Alex Aimer5-Feb-07 6:35 
Questiontime Pin
ikbahrian1-Feb-07 23:04
ikbahrian1-Feb-07 23:04 
AnswerRe: time Pin
_AnsHUMAN_ 1-Feb-07 23:21
_AnsHUMAN_ 1-Feb-07 23:21 
GeneralRe: time Pin
ikbahrian2-Feb-07 4:46
ikbahrian2-Feb-07 4:46 
QuestionSwap Bytes Pin
Aint1-Feb-07 23:01
Aint1-Feb-07 23:01 
AnswerRe: Swap Bytes Pin
Christian Graus1-Feb-07 23:31
protectorChristian Graus1-Feb-07 23:31 
array is a char array ?  and swap is an int array ? int is four bytes, not two.  Try a short array, or just swap in place

			for (i=0; i<10; i+=2)<br />
			{<br />
byte temp = array[i];<br />
array[i] = array[i+1];<br />
array[i+1] = temp;<br />
}<br />
<br />
That's more efficient than doing shifts as well, I would presume.<br />


Christian Graus - C++ MVP

'Why don't we jump on a fad that hasn't already been widely discredited ?' - Dilbert

GeneralRe: Swap Bytes Pin
Aint2-Feb-07 2:00
Aint2-Feb-07 2:00 
GeneralRe: Swap Bytes Pin
Michael Dunn2-Feb-07 9:12
sitebuilderMichael Dunn2-Feb-07 9:12 
GeneralRe: Swap Bytes Pin
Christian Graus2-Feb-07 10:21
protectorChristian Graus2-Feb-07 10:21 
QuestionLoad a class depending on a string Pin
S.C.Wong1-Feb-07 22:57
S.C.Wong1-Feb-07 22:57 
AnswerRe: Load a class depending on a string Pin
Waldermort1-Feb-07 23:21
Waldermort1-Feb-07 23:21 
QuestionRe: Load a class depending on a string Pin
David Crow2-Feb-07 2:46
David Crow2-Feb-07 2:46 
AnswerRe: Load a class depending on a string Pin
jhwurmbach2-Feb-07 3:05
jhwurmbach2-Feb-07 3:05 
AnswerRe: Load a class depending on a string Pin
Cedric Moonen2-Feb-07 4:10
Cedric Moonen2-Feb-07 4:10 
GeneralRe: Load a class depending on a string Pin
Mark Salsbery2-Feb-07 5:53
Mark Salsbery2-Feb-07 5:53 

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.