Click here to Skip to main content
15,886,840 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionChanging Tab Order Programmatically Pin
BiswaR28-Feb-06 1:59
BiswaR28-Feb-06 1:59 
AnswerRe: Changing Tab Order Programmatically Pin
Jack Puppy28-Feb-06 2:04
Jack Puppy28-Feb-06 2:04 
AnswerRe: Changing Tab Order Programmatically Pin
khan++28-Feb-06 2:48
khan++28-Feb-06 2:48 
GeneralRe: Changing Tab Order Programmatically Pin
Blake Miller1-Mar-06 9:00
Blake Miller1-Mar-06 9:00 
GeneralRe: Changing Tab Order Programmatically Pin
khan++1-Mar-06 19:27
khan++1-Mar-06 19:27 
GeneralRe: Changing Tab Order Programmatically Pin
Blake Miller2-Mar-06 4:11
Blake Miller2-Mar-06 4:11 
GeneralRe: Changing Tab Order Programmatically Pin
khan++2-Mar-06 19:02
khan++2-Mar-06 19:02 
Questionuse of _ltoa Pin
Kranti125198428-Feb-06 0:56
Kranti125198428-Feb-06 0:56 
Hi,

I want to compare two character arrays containing binary values.

For e.g. if m_Effects array contains 0001, string comparison does not return 0 even if binEffects contains binary equivalent of 1. Even if I do byte by byte comparison same problem occurs.

What does _ltoa exactly perform?

//---------------------------------------------------------------------
for(int i=0; i <16; i++)
{
_ltoa(i, binEffects, 2);

if(strcmp((char *)binEffects, (char *)m_Effects) == 0)
return i;
}
//---------------------------------------------------------------------


Thanks,
Kranti
AnswerRe: use of _ltoa Pin
Naveen28-Feb-06 1:04
Naveen28-Feb-06 1:04 
GeneralRe: use of _ltoa Pin
Kranti125198428-Feb-06 1:47
Kranti125198428-Feb-06 1:47 
GeneralRe: use of _ltoa Pin
Cedric Moonen28-Feb-06 2:02
Cedric Moonen28-Feb-06 2:02 
AnswerRe: use of _ltoa Pin
Cedric Moonen28-Feb-06 1:19
Cedric Moonen28-Feb-06 1:19 
AnswerRe: use of _ltoa Pin
mbue28-Feb-06 2:37
mbue28-Feb-06 2:37 
GeneralRe: use of _ltoa Pin
Kranti125198428-Feb-06 17:35
Kranti125198428-Feb-06 17:35 
QuestionDeleting a file to recycle bin Pin
Chintoo72328-Feb-06 0:44
Chintoo72328-Feb-06 0:44 
AnswerRe: Deleting a file to recycle bin Pin
Jack Puppy28-Feb-06 1:23
Jack Puppy28-Feb-06 1:23 
AnswerRe: Deleting a file to recycle bin Pin
mbue28-Feb-06 2:45
mbue28-Feb-06 2:45 
QuestionProgrammatically search for a file Pin
Anil_vvs28-Feb-06 0:44
Anil_vvs28-Feb-06 0:44 
AnswerRe: Programmatically search for a file Pin
Anil_vvs28-Feb-06 0:45
Anil_vvs28-Feb-06 0:45 
GeneralRe: Programmatically search for a file Pin
toxcct28-Feb-06 0:48
toxcct28-Feb-06 0:48 
GeneralRe: Programmatically search for a file Pin
James Brown28-Feb-06 1:52
James Brown28-Feb-06 1:52 
AnswerRe: Programmatically search for a file Pin
mbue28-Feb-06 2:49
mbue28-Feb-06 2:49 
GeneralRe: Programmatically search for a file Pin
Anil_vvs28-Feb-06 2:54
Anil_vvs28-Feb-06 2:54 
GeneralRe: Programmatically search for a file Pin
mbue28-Feb-06 3:32
mbue28-Feb-06 3:32 
QuestionData string Parsing Pin
srija28-Feb-06 0:42
srija28-Feb-06 0:42 

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.