Click here to Skip to main content
15,904,351 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhelp Pin
subikchya20-May-06 23:09
subikchya20-May-06 23:09 
AnswerRe: help Pin
Hamid_RT21-May-06 0:30
Hamid_RT21-May-06 0:30 
QuestionMFC: Easy way to download XML & HTML files to disk? Pin
chasetoys20-May-06 21:47
chasetoys20-May-06 21:47 
AnswerRe: MFC: Easy way to download XML & HTML files to disk? Pin
Hamid_RT20-May-06 22:03
Hamid_RT20-May-06 22:03 
AnswerRe: MFC: Easy way to download XML & HTML files to disk? Pin
shilianghui221-May-06 4:50
shilianghui221-May-06 4:50 
GeneralRe: MFC: Easy way to download XML & HTML files to disk? Pin
chasetoys21-May-06 5:06
chasetoys21-May-06 5:06 
Questionneed help wit daata type conversion >.< Pin
neodeaths20-May-06 20:37
neodeaths20-May-06 20:37 
AnswerRe: need help wit daata type conversion >.< Pin
eli1502197920-May-06 21:08
eli1502197920-May-06 21:08 
Hi,

If you are using MFC , try this:
char *ID;
CString szString;
int abc = 10;

szString.Format("c%d" , abc);
ID = new char[szString.GetLength() + 1];
strcpy(ID , (LPCTSTR)szString); // ID = "c10"


If you are not using MFC , try this:
char *ID , Buffer[20] , temp = 'c';
int abc = 10;

_itoa( abc , Buffer , 10 );
ID = new char[strlen(Buffer) + 1];
ID[0] = 'c';
strcat(ID , Buffer);


With best regards,
Eli
GeneralRe: need help wit daata type conversion &amp;gt;.&amp;lt; [modified] Pin
neodeaths20-May-06 21:57
neodeaths20-May-06 21:57 
GeneralRe: need help wit daata type conversion &amp;gt;.&amp;lt; [modified] Pin
Hamid_RT20-May-06 22:06
Hamid_RT20-May-06 22:06 
GeneralRe: need help wit daata type conversion &amp;amp;gt;.&amp;amp;lt; [modified] Pin
neodeaths20-May-06 22:09
neodeaths20-May-06 22:09 
GeneralRe: need help wit daata type conversion &amp;amp;gt;.&amp;amp;lt; [modified] Pin
Hamid_RT20-May-06 22:17
Hamid_RT20-May-06 22:17 
GeneralRe: need help wit daata type conversion &amp;amp;amp;gt;.&amp;amp;amp;lt; [modified] Pin
neodeaths20-May-06 22:24
neodeaths20-May-06 22:24 
GeneralRe: need help wit daata type conversion &amp;amp;amp;gt;.&amp;amp;amp;lt; [modified] Pin
Hamid_RT20-May-06 22:34
Hamid_RT20-May-06 22:34 
GeneralRe: need help wit daata type conversion &amp;amp;amp;gt;.&amp;amp;amp;lt; [modified] Pin
neodeaths20-May-06 22:40
neodeaths20-May-06 22:40 
GeneralRe: need help wit daata type conversion &amp;amp;amp;gt;.&amp;amp;amp;lt; [modified] Pin
Hamid_RT20-May-06 23:02
Hamid_RT20-May-06 23:02 
GeneralRe: need help wit daata type conversion &amp;amp;amp;gt;.&amp;amp;amp;lt; [modified] Pin
neodeaths20-May-06 23:20
neodeaths20-May-06 23:20 
GeneralI hope your answer Pin
Hamid_RT21-May-06 0:12
Hamid_RT21-May-06 0:12 
GeneralRe: I hope your answer Pin
neodeaths21-May-06 1:05
neodeaths21-May-06 1:05 
GeneralRe: I hope your answer Pin
eli1502197921-May-06 3:38
eli1502197921-May-06 3:38 
GeneralRe: I hope your answer Pin
neodeaths21-May-06 5:09
neodeaths21-May-06 5:09 
GeneralRe: I hope your answer Pin
neodeaths21-May-06 5:10
neodeaths21-May-06 5:10 
GeneralRe: I hope your answer Pin
Hamid_RT21-May-06 5:39
Hamid_RT21-May-06 5:39 
GeneralRe: I hope your answer Pin
neodeaths21-May-06 6:30
neodeaths21-May-06 6:30 
AnswerRe: I hope your answer Pin
Laxman Auti21-May-06 19:09
Laxman Auti21-May-06 19:09 

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.