![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
常用问题
星辰路
这个作者很懒,什么都没留下…
展开
-
类型转换
1、char * 转换成 LPCTSTR char s[10]; WCHAR Ws[10]; memset(s,0,10 * sizeof(char)); memset(Ws,0,10 * sizeof(WCHAR)); sprintf(s,"%s","Mychar.."); MultiByteToWide原创 2016-03-31 14:51:55 · 227 阅读 · 0 评论 -
STL学习
1、利用ostream_iterator输出数组 #include #include #include using namespace std; void DisplayShuzu(int *arry,int len) { copy(arry,arry+len,ostream_iterator(cout, " ")); } int main() { int arry[10]原创 2016-05-11 16:20:10 · 233 阅读 · 0 评论 -
随机知识点
1、调用连接库的函数时,需要include头文件或者extern外部声明原创 2016-06-03 10:59:57 · 465 阅读 · 0 评论