Click here to Skip to main content
16,006,065 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: need help wit daata type conversion >.< [modified] Pin
neodeaths20-May-06 22:09
neodeaths20-May-06 22:09 
GeneralRe: need help wit daata type conversion >.< [modified] Pin
Hamid_RT20-May-06 22:17
Hamid_RT20-May-06 22:17 
GeneralRe: need help wit daata type conversion >.< [modified] Pin
neodeaths20-May-06 22:24
neodeaths20-May-06 22:24 
GeneralRe: need help wit daata type conversion >.< [modified] Pin
Hamid_RT20-May-06 22:34
Hamid_RT20-May-06 22:34 
GeneralRe: need help wit daata type conversion >.< [modified] Pin
neodeaths20-May-06 22:40
neodeaths20-May-06 22:40 
GeneralRe: need help wit daata type conversion >.< [modified] Pin
Hamid_RT20-May-06 23:02
Hamid_RT20-May-06 23:02 
GeneralRe: need help wit daata type conversion >.< [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 
well ok i mistake i think your problem is itoa so its easy use
<br />
<br />
#include "stdafx.h"<br />
#include windows.h<br />
#include iostream<br />
#include tchar.h<br />
using namespace std;<br />
<br />
<br />
int _tmain(int argc, _TCHAR* argv[])<br />
{<br />
char *ID;<br />
char temp = 'c';<br />
//char Buffer[20];<br />
int abc = 1240;<br />
ID = new char[sizeof(ID)];<br />
<br />
//itoa(abc,Buffer,10);<br />
wsprintf(ID,"%c%d",temp,abc);<br />
//wsprintf(ID,"%c%s",temp,Buffer);<br />
<br />
cout<<"Value="<<ID<<"\n";<br />
	return 0;<br />
}<br />
<br />
<br />



whitesky


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 
GeneralRe: need help wit daata type conversion Pin
normanS21-May-06 19:42
normanS21-May-06 19:42 
GeneralRe: need help wit daata type conversion Pin
neodeaths22-May-06 7:19
neodeaths22-May-06 7:19 
Questionchecking if a folder exists or not Pin
sudeep_br20-May-06 18:03
sudeep_br20-May-06 18:03 
AnswerRe: checking if a folder exists or not Pin
Chris Losinger20-May-06 18:28
professionalChris Losinger20-May-06 18:28 
AnswerRe: checking if a folder exists or not Pin
eli1502197920-May-06 21:13
eli1502197920-May-06 21:13 
GeneralRe: checking if a folder exists or not Pin
sudeep_br20-May-06 23:49
sudeep_br20-May-06 23:49 
AnswerRe: checking if a folder exists or not Pin
Hamid_RT20-May-06 21:21
Hamid_RT20-May-06 21:21 
AnswerRe: checking if a folder exists or not Pin
rbid20-May-06 21:38
rbid20-May-06 21:38 
AnswerRe: checking if a folder exists or not Pin
knoxplusplus23-May-06 7:26
knoxplusplus23-May-06 7:26 
QuestionRelevancy of C structures [modified] Pin
Sam Hobbs20-May-06 17:48
Sam Hobbs20-May-06 17:48 

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.