一个很弱的问题 先 sprintf() 到一个 buffer.... 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 先将int转换为字符串 CString out;int m_text;out.Formt("%d",m_text);pDC->TextOut(out); CString stringtoOutput;int yourvariabletoOutput;stringtoOutput.Format("%d", yourvariabletoOutput);TextOut(,,stringtoOutput) int index;TCHAR szBuffer[10];TextOut(hdc,0,0,szBuffer,wsprintf(szBuffer,TEXT("%d"),index)); 怎么调用连接队列下一个 为什么对话框DoModal返回-1 如果实现批量新增,更新操作。 在VC++中如何修改ActiveX控件的界面 vc菜菜提问 如何保存"edit Box"中的文本到一记事本下 因为这个问题已经郁闷了30分钟了,帮下忙看看,不胜感激..... 非常实际的问题:CTabCtrl::InsertItem()的问题 MySql存取位图 讨论考高程问题 一起讨论BSTR的数据类型转换和维护 请教语法错误解决 救我大虾们:如何阻止使用线程时,内存大量被占用?
int m_text;
out.Formt("%d",m_text);
pDC->TextOut(out);
int yourvariabletoOutput;
stringtoOutput.Format("%d", yourvariabletoOutput);
TextOut(,,stringtoOutput)
TCHAR szBuffer[10];
TextOut(hdc,0,0,szBuffer,wsprintf(szBuffer,TEXT("%d"),index));