Click here to Skip to main content
15,898,588 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to use SetTimer( ) when I create MFC Regular Dll? Pin
tttyip25-Dec-04 6:13
tttyip25-Dec-04 6:13 
AnswerRe: How to use SetTimer( ) when I create MFC Regular Dll? Pin
Ravi Bhavnani25-Dec-04 6:32
professionalRavi Bhavnani25-Dec-04 6:32 
GeneralControl focus question Pin
Deian25-Dec-04 5:09
Deian25-Dec-04 5:09 
GeneralRe: Control focus question Pin
Michael Dunn25-Dec-04 5:36
sitebuilderMichael Dunn25-Dec-04 5:36 
GeneralRe: Control focus question Pin
Deian25-Dec-04 5:53
Deian25-Dec-04 5:53 
GeneralConverting char to int and int to char Pin
sacoskun25-Dec-04 5:01
sacoskun25-Dec-04 5:01 
GeneralRe: Converting char to int and int to char Pin
Michael Dunn25-Dec-04 5:40
sitebuilderMichael Dunn25-Dec-04 5:40 
GeneralRe: Converting char to int and int to char Pin
Mircea Puiu25-Dec-04 5:53
Mircea Puiu25-Dec-04 5:53 
One way would be:
<br />
============================<br />
char chA = '3';<br />
int nA;<br />
char chValue[32]; // actually 2 it's enough here :-))<br />
chValue[0] = chA;<br />
chValue[1] = 0; // null terminated string<br />
nA = atoi(chValue);<br />
============================<br />
char chA;<br />
int nA = 3;<br />
char chValue[32];<br />
itoa(nA, chValue, 10);<br />
chA = chValue[0];<br />
============================<br />


SkyWalker
GeneralRe: Converting char to int and int to char Pin
sacoskun25-Dec-04 6:40
sacoskun25-Dec-04 6:40 
GeneralRe: Converting char to int and int to char Pin
sacoskun25-Dec-04 7:09
sacoskun25-Dec-04 7:09 
GeneralRe: Converting char to int and int to char Pin
mirex25-Dec-04 7:28
mirex25-Dec-04 7:28 
Questionhow to converte a sequence of jpeg to a movie? Pin
max_xiayi25-Dec-04 2:20
max_xiayi25-Dec-04 2:20 
GeneralImporting Dialog Pin
Sheh Shehpori24-Dec-04 23:09
sussSheh Shehpori24-Dec-04 23:09 
GeneralRe: Importing Dialog Pin
Dennis Gourjii24-Dec-04 23:41
Dennis Gourjii24-Dec-04 23:41 
GeneralRe: Importing Dialog Pin
Shah Shehpori25-Dec-04 0:06
sussShah Shehpori25-Dec-04 0:06 
GeneralRe: Importing Dialog Pin
Michael Dunn25-Dec-04 5:43
sitebuilderMichael Dunn25-Dec-04 5:43 
GeneralCListCtrl related Pin
Aamir Butt24-Dec-04 21:39
Aamir Butt24-Dec-04 21:39 
GeneralRe: CListCtrl related Pin
Aamir Butt24-Dec-04 21:57
Aamir Butt24-Dec-04 21:57 
GeneralRe: CListCtrl related Pin
Anonymous25-Dec-04 3:26
Anonymous25-Dec-04 3:26 
GeneralQuestion About Modems Pin
Rassul Yunussov24-Dec-04 18:37
Rassul Yunussov24-Dec-04 18:37 
GeneralRe: Question About Modems Pin
Michael Dunn25-Dec-04 5:51
sitebuilderMichael Dunn25-Dec-04 5:51 
GeneralLocking the desktop... Pin
dSolariuM24-Dec-04 17:21
dSolariuM24-Dec-04 17:21 
Generalmaybe someone can help me out. Pin
donttrip24-Dec-04 16:56
donttrip24-Dec-04 16:56 
GeneralRe: maybe someone can help me out. Pin
Rassul Yunussov24-Dec-04 17:51
Rassul Yunussov24-Dec-04 17:51 
GeneralRe: maybe someone can help me out. Pin
Dennis Gourjii24-Dec-04 23:47
Dennis Gourjii24-Dec-04 23:47 

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.