全部博文(695)
发布时间:2014-05-26 19:25:21
笔试很喜欢考这些 #include <stdio.h>#include <string.h>#include <stdlib.h>int main(){ char *str = (char *)malloc(100); strcpy(str, "hello"); free(str); if(str != NULL) { strcpy(str, "world"); &.........【阅读全文】
发布时间:2014-04-09 23:11:45
一、功能简介把一个字符串转换成整数二、linux c库函数实现点击(此处)折叠或打开/****long atol(char *nptr) - Convert string to long**Purpose:* Converts ASCII string pointed to by nptr to bina.........【阅读全文】