![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
C++函数
文章平均质量分 77
_冬夜里的篝火
这个作者很懒,什么都没留下…
展开
-
atoi
function atoi int atoi (const char * str); Convert string to integer Parses the C-string str interpreting its content as an integral number, which is returned as a value of type int.转载 2014-04-13 08:28:51 · 644 阅读 · 0 评论 -
itoa
function itoa char * itoa ( int value, char * str, int base ); Convert integer to string (non-standard function) Converts an integer value to a null-terminated string using the specif转载 2014-04-13 08:29:38 · 825 阅读 · 0 评论 -
std::stringstream::str和ss
public member function std::stringstream::str string str() const; void str (const string& s); Get/set content The first form (1) returns a string object with a copy of the current cont转载 2014-04-13 08:59:58 · 2423 阅读 · 0 评论 -
sprintf
int sprintf ( char * str, const char * format, ... ); Write formatted data to string Composes a string with the same text that would be printed if format was used on printf, but instead of being转载 2014-04-13 09:51:51 · 798 阅读 · 0 评论 -
memset
function memset void * memset ( void * ptr, int value, size_t num ); Fill block of memory Sets the first num bytes of the block of memory pointed by ptr to the specified value (interpr转载 2014-04-13 14:51:38 · 616 阅读 · 0 评论