sprintf(str,"hehe %d %d",point.x,point.y);???编译通过了吗???
解决方案 »
- STL中deque的线程安全性问题
- VC++的项目怎么调用delphi写的动态库
- 我用CDHtmlDialog实现一个浏览器,但是有时会遇到一个断言无法通过
- How to resolve (DEP)Data Execution Prevention problem in winxp sp2
- 请教DirectDraw的问题
- How to get all files in the Visual studio workspace?
- opengl中的一个纹理贴图的问题!
- 请教高效的屏幕截取方法!
- 计算机开发语言说长道短
- 求助关于CScrollView异常
- 天呐 我提的问题从来没人回答
- 为什么当我在调试atl开发指南中第入章的例子的时侯没有错,而当我在activex control test container中调用确。。。。。
CString str ;
str.Format("hehe %d %d",point.x,point.y);//ok
dc.TextOut(4,5,str);
#define MAX 100
char str[MAX]
sprintf(str,"hehe %d %d",point.x,point.y);
dc.TextOut(4,5,str);