会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
2015年12月25日
合并字符串(for hw)//详解malloc
摘要: eg : int* p; p = (int *) malloc (sizeof(int));或者 int a; char* c = malloc(sizeof(a) * len);合并两个字符串,每个字符串长度不小于1不超过50,主函数已经给出,在join.h头文件中完成join函数,函数原型...
阅读全文
posted @ 2015-12-25 17:19 _阿赞
阅读(507)
评论(0)
推荐(0)
结构体指针
摘要: 1 #include 2 struct stu{ 3 int num; 4 float score; 5 struct stu* next; 6 }; 7 8 int main() { 9 struct stu a, b, c, *head, *p;10 ...
阅读全文
posted @ 2015-12-25 17:12 _阿赞
阅读(217)
评论(0)
推荐(0)
_阿赞
公告
导航
博客园
首页
新随笔
联系
订阅
管理