![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
other
weixin_39742952
这个作者很懒,什么都没留下…
展开
-
int-> string
int a = 19;stringstream ss;ss << a;string str = ss.str();cout << str;原创 2019-02-27 21:55:32 · 332 阅读 · 0 评论 -
First temp
This is my first tech-blog, hoping can witness my progress in coding原创 2019-02-25 20:04:14 · 84 阅读 · 0 评论 -
sscanf && ssprintf && 数组传参 && 结构体初始化 && 区分引用和指针
sscanf(str, “%d”, &amp;amp;n); //str-&amp;gt;int(int only, if double-&amp;gt;int(floor))sprintf(str, “%d”, n); //int-&amp;gt;str(only int, if double-&amp;gt;int(floor))原创 2019-02-25 20:39:54 · 268 阅读 · 0 评论