Click here to Skip to main content
15,913,486 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: How can set Focus on ListCtrl? Pin
Rajesh R Subramanian26-Jun-08 23:50
professionalRajesh R Subramanian26-Jun-08 23:50 
AnswerRe: How can set Focus on ListCtrl? Pin
Le@rner27-Jun-08 0:49
Le@rner27-Jun-08 0:49 
GeneralRe: How can set Focus on ListCtrl? Pin
Rajesh R Subramanian27-Jun-08 0:55
professionalRajesh R Subramanian27-Jun-08 0:55 
GeneralRe: How can set Focus on ListCtrl? Pin
Le@rner27-Jun-08 1:23
Le@rner27-Jun-08 1:23 
QuestionRe: How can set Focus on ListCtrl? Pin
Rajesh R Subramanian27-Jun-08 1:42
professionalRajesh R Subramanian27-Jun-08 1:42 
AnswerRe: How can set Focus on ListCtrl? Pin
sudhir_Kumar26-Jun-08 23:29
sudhir_Kumar26-Jun-08 23:29 
QuestionRe: How can set Focus on ListCtrl? Pin
David Crow27-Jun-08 4:48
David Crow27-Jun-08 4:48 
Questionacsii to decimal or hexadecimal Pin
Deepu Antony26-Jun-08 22:50
Deepu Antony26-Jun-08 22:50 
Can anybody help me in converting an ascii vaue to a binary or hexamdecimal value..

I am using the code below to read from some .dat file in VC++


CFile filename;
filename.open("file_path",CFile::moderead)

CString buffer[10];

for(i=0; i<filename.getlength();i++)>
{
fileName.Read(buffer,1);

//Additional code...
}

The buffer string which i have used to store the values read from the file is coming as ascii values.I want to convert it in to decimal or hecamdecimal values..

The .dat file which i am used as file is some thing like below having hexadecimal values..


AA AA 32 3D...

the asci value of 32 in this case is 2.
in buffer string it is stored as 2 (acsii value of 32).
So i want to get the corrospomding decimal vlaue of '2' in this case it is 50 or the hexadecimal value 32

please help me to solve this.
AnswerRe: acsii to decimal or hexadecimal Pin
SandipG 26-Jun-08 22:56
SandipG 26-Jun-08 22:56 
GeneralRe: acsii to decimal or hexadecimal Pin
Deepu Antony26-Jun-08 23:17
Deepu Antony26-Jun-08 23:17 
GeneralRe: acsii to decimal or hexadecimal Pin
SandipG 26-Jun-08 23:20
SandipG 26-Jun-08 23:20 
GeneralRe: acsii to decimal or hexadecimal Pin
Deepu Antony26-Jun-08 23:29
Deepu Antony26-Jun-08 23:29 
AnswerRe: acsii to decimal or hexadecimal Pin
David Crow27-Jun-08 4:49
David Crow27-Jun-08 4:49 
Questionhow to calculate this amount? Pin
gentleguy26-Jun-08 21:52
gentleguy26-Jun-08 21:52 
AnswerRe: how to calculate this amount? Pin
Iain Clarke, Warrior Programmer26-Jun-08 22:07
Iain Clarke, Warrior Programmer26-Jun-08 22:07 
GeneralRe: how to calculate this amount? Pin
gentleguy26-Jun-08 22:18
gentleguy26-Jun-08 22:18 
GeneralRe: how to calculate this amount? Pin
Iain Clarke, Warrior Programmer26-Jun-08 22:38
Iain Clarke, Warrior Programmer26-Jun-08 22:38 
JokeOT Pin
Rajesh R Subramanian26-Jun-08 22:42
professionalRajesh R Subramanian26-Jun-08 22:42 
GeneralRe: OT Pin
Iain Clarke, Warrior Programmer26-Jun-08 23:05
Iain Clarke, Warrior Programmer26-Jun-08 23:05 
GeneralRe: OT Pin
gentleguy26-Jun-08 23:39
gentleguy26-Jun-08 23:39 
QuestionRe: how to calculate this amount? Pin
David Crow27-Jun-08 4:52
David Crow27-Jun-08 4:52 
AnswerRe: how to calculate this amount? Pin
David Crow27-Jun-08 4:55
David Crow27-Jun-08 4:55 
QuestionCopyFile API and Vista Pin
Mushtaque Nizamani26-Jun-08 20:39
Mushtaque Nizamani26-Jun-08 20:39 
AnswerRe: CopyFile API and Vista Pin
Rajesh R Subramanian26-Jun-08 20:49
professionalRajesh R Subramanian26-Jun-08 20:49 
AnswerRe: CopyFile API and Vista Pin
KarstenK26-Jun-08 21:41
mveKarstenK26-Jun-08 21:41 

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.