Click here to Skip to main content
15,920,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Recommended Books, Sites, Tutorials etc... Pin
exhaulted24-Sep-04 1:25
exhaulted24-Sep-04 1:25 
GeneralRe: Recommended Books, Sites, Tutorials etc... Pin
LittleYellowBird24-Sep-04 1:15
LittleYellowBird24-Sep-04 1:15 
GeneralRe: Recommended Books, Sites, Tutorials etc... Pin
exhaulted24-Sep-04 1:24
exhaulted24-Sep-04 1:24 
GeneralRe: Recommended Books, Sites, Tutorials etc... Pin
Alexander M.,24-Sep-04 12:33
Alexander M.,24-Sep-04 12:33 
GeneralCString to Numeric Value Pin
si_6923-Sep-04 23:41
si_6923-Sep-04 23:41 
GeneralRe: CString to Numeric Value Pin
Nirav Doshi24-Sep-04 1:21
Nirav Doshi24-Sep-04 1:21 
GeneralRe: CString to Numeric Value Pin
si_6924-Sep-04 1:27
si_6924-Sep-04 1:27 
GeneralRe: CString to Numeric Value Pin
Nirav Doshi24-Sep-04 1:49
Nirav Doshi24-Sep-04 1:49 
A simple function would do for that!

CString GetASCIICodedString(CString& srcString)
{
    CString srcResult, srcBuffer;

    for(int nIndex = 0; nIndex < srcString.GetLength(); nIndex++)
    {
        srcBuffer.Empty();
        srcBuffer.Format("%d", srcString.GetAt(nIndex));
        srcResult += srcBuffer;
    }

    return srcResult;
}


This should work... I've not compiled it, just some rough code, so please test it properly.


* Artificial intelligence is no match for natural stupidity! *
GeneralRe: CString to Numeric Value Pin
Nirav Doshi24-Sep-04 2:54
Nirav Doshi24-Sep-04 2:54 
GeneralRe: CString to Numeric Value Pin
Ravi Bhavnani24-Sep-04 3:20
professionalRavi Bhavnani24-Sep-04 3:20 
GeneralRe: CString to Numeric Value Pin
Manfred Staiger24-Sep-04 1:24
Manfred Staiger24-Sep-04 1:24 
GeneralRe: CString to Numeric Value Pin
si_6924-Sep-04 1:34
si_6924-Sep-04 1:34 
GeneralRe: CString to Numeric Value Pin
Manfred Staiger24-Sep-04 1:42
Manfred Staiger24-Sep-04 1:42 
GeneralHelp : Simple Question Pin
ardhendu12323-Sep-04 23:38
ardhendu12323-Sep-04 23:38 
GeneralRAM DRIVE Pin
Unkind23-Sep-04 23:33
Unkind23-Sep-04 23:33 
GeneralRe: RAM DRIVE Pin
Alexander M.,24-Sep-04 12:32
Alexander M.,24-Sep-04 12:32 
GeneralParent process Pin
status23-Sep-04 23:01
status23-Sep-04 23:01 
GeneralRe: Parent process Pin
Neville Franks23-Sep-04 23:26
Neville Franks23-Sep-04 23:26 
GeneralRe: Parent process Pin
status24-Sep-04 0:40
status24-Sep-04 0:40 
GeneralRe: Parent process Pin
David Crow24-Sep-04 9:06
David Crow24-Sep-04 9:06 
GeneralRe: Parent process Pin
Neville Franks24-Sep-04 12:08
Neville Franks24-Sep-04 12:08 
GeneralRe: Parent process Pin
Blake Miller27-Sep-04 12:24
Blake Miller27-Sep-04 12:24 
QuestionHow to change the System Date &amp; Time using C++ Pin
pubududilena23-Sep-04 22:51
pubududilena23-Sep-04 22:51 
AnswerRe: How to change the System Date &amp; Time using C++ Pin
Neville Franks23-Sep-04 23:33
Neville Franks23-Sep-04 23:33 
GeneralRe: How to change the System Date &amp; Time using C++ Pin
pubududilena24-Sep-04 0:04
pubududilena24-Sep-04 0:04 

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.