- 博客(6)
- 收藏
- 关注
转载 memset
functionmemsetvoid * memset ( void * ptr, int value, size_t num );Fill block of memorySets the first num bytes of the block of memory pointed by ptr to the specified value (interpr
2014-04-13 14:51:38
671
转载 Sizeof Array
Sizeof ArraySo, you want to know how many elements there are in your array? This is a tricky subject.Before we go any further, you should be familiar with the concepts discussed in c-strings
2014-04-13 09:57:04
1363
转载 sprintf
int sprintf ( char * str, const char * format, ... );Write formatted data to stringComposes 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
847
转载 std::stringstream::str和ss
public member functionstd::stringstream::strstring str() const;void str (const string& s);Get/set contentThe first form (1) returns a string object with a copy of the current cont
2014-04-13 08:59:58
2483
转载 itoa
functionitoachar * 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
905
转载 atoi
functionatoiint atoi (const char * str);Convert string to integerParses 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
692
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人