随笔分类 - C
摘要:long int strtol(const char *nptr, char **endptr, int base) strtol()会将nptr指向的字符串,根据参数base,按权转化为long int, 然后返回这个值。 参数base的范围为2~36,和0;它决定了字符串以被转换为整数的权值。可
        阅读全文
            
摘要:Allocating memory on the heap #include <stdlib.h> void *calloc(size_t numitems , size_t size ); Returns pointer to allocated memory on success, or NUL
        阅读全文
            
                    
                
浙公网安备 33010602011771号