![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++
Michyo
这个作者很懒,什么都没留下…
展开
-
C++ - 错错错> <
每次都能被各种错给弄抓狂=-=,真是受不了。。索性来个集锦吧。 1、Error:No viable conversion from '__bind' to 'int' 源码: int localSocket,remoteSocket; struct sockaddr_in localAddr; int result = bind(localSocket, (struct socka原创 2012-10-30 08:59:40 · 3360 阅读 · 0 评论 -
C++ - 字符串(string)和数字(int、float...)互相转换
当当当当! 运用stringstream! 【int转string】(float等与int相同) 源码: #include stringstream ss; int mySeq = 1; string mySeqHelp; ss << mySeq; ss >> mySeqHelp; 【string转int】(float等与int相同)原创 2012-10-30 22:13:45 · 1226 阅读 · 0 评论