Click here to Skip to main content
15,895,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhangman code in C Pin
Member 1118939529-Oct-14 10:56
Member 1118939529-Oct-14 10:56 
SuggestionRe: hangman code in C Pin
Richard MacCutchan29-Oct-14 22:27
mveRichard MacCutchan29-Oct-14 22:27 
GeneralRe: hangman code in C Pin
Member 1118939529-Oct-14 22:54
Member 1118939529-Oct-14 22:54 
GeneralRe: hangman code in C Pin
Richard MacCutchan30-Oct-14 1:56
mveRichard MacCutchan30-Oct-14 1:56 
GeneralRe: hangman code in C Pin
CPallini30-Oct-14 7:33
mveCPallini30-Oct-14 7:33 
GeneralRe: hangman code in C Pin
Richard MacCutchan30-Oct-14 22:27
mveRichard MacCutchan30-Oct-14 22:27 
QuestionRe: hangman code in C Pin
David Crow31-Oct-14 4:32
David Crow31-Oct-14 4:32 
QuestionConvert unicode string into ascii text with numeric character references Pin
Leif Simon Goodwin29-Oct-14 5:15
Leif Simon Goodwin29-Oct-14 5:15 
We have some old code which creates an XML document tree, using IXMLDocument and related interfaces. Anyway, some code creates a text node and we pass in text such as "5.0 £" or "2.5 €". The currency characters are non ASCII and are not valid in an XMl text node. For example this is invalid:

<cost>2.5 €

It needs to be translated as follows:

<cost>2.5 &#euro;

I can process the string e.g. "2.5 €" replacing each non ASCII character with a numeric character reference, and then create the XML text node. Is there a better way to convert the CString content to XML compliant text? I cannot find anything in Microsoft code. (As far as I can see Xerces would handle this but we do not use Xerces.)
QuestionCustomized virtual drive Pin
lrtsenar29-Oct-14 3:47
lrtsenar29-Oct-14 3:47 
AnswerRe: Customized virtual drive Pin
Richard MacCutchan29-Oct-14 3:54
mveRichard MacCutchan29-Oct-14 3:54 
Questionc program Pin
Member 1118930829-Oct-14 0:40
Member 1118930829-Oct-14 0:40 
AnswerRe: c program Pin
Richard MacCutchan29-Oct-14 3:52
mveRichard MacCutchan29-Oct-14 3:52 
QuestionRe: c program Pin
CPallini29-Oct-14 4:36
mveCPallini29-Oct-14 4:36 
GeneralRe: c program Pin
PIEBALDconsult29-Oct-14 4:52
mvePIEBALDconsult29-Oct-14 4:52 
AnswerRe: c program Pin
Stefan_Lang30-Oct-14 0:20
Stefan_Lang30-Oct-14 0:20 
Question"Network Access: Allow anonymous SID/Name translation" ,a am attempting to get this via the registry but cant find the key,how can I get thisvalue ,tks Pin
kxjhcs25-Oct-14 21:04
kxjhcs25-Oct-14 21:04 
AnswerRe: "Network Access: Allow anonymous SID/Name translation" ,a am attempting to get this via the registry but cant find the key,how can I get thisvalue ,tks Pin
Richard MacCutchan25-Oct-14 22:13
mveRichard MacCutchan25-Oct-14 22:13 
QuestionHow to constructor a storage class to store Tree data in C++ Pin
shanmugarajaa25-Oct-14 5:20
shanmugarajaa25-Oct-14 5:20 
AnswerRe: How to constructor a storage class to store Tree data in C++ Pin
Richard MacCutchan25-Oct-14 5:54
mveRichard MacCutchan25-Oct-14 5:54 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
shanmugarajaa25-Oct-14 7:54
shanmugarajaa25-Oct-14 7:54 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Richard MacCutchan25-Oct-14 22:09
mveRichard MacCutchan25-Oct-14 22:09 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Orjan Westin27-Oct-14 3:54
professionalOrjan Westin27-Oct-14 3:54 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Richard MacCutchan27-Oct-14 7:41
mveRichard MacCutchan27-Oct-14 7:41 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Orjan Westin27-Oct-14 23:13
professionalOrjan Westin27-Oct-14 23:13 
GeneralRe: How to constructor a storage class to store Tree data in C++ Pin
Richard MacCutchan27-Oct-14 23:56
mveRichard MacCutchan27-Oct-14 23:56 

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.