• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
____xyz
博客园 | 首页 | 新随笔 | 新文章 | 联系 | 订阅 订阅 | 管理

文章分类 -  C Language

 
简单动态内存分配
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #define LEN sizeof(struct stu_power) 5 6 struct stu_power 7 { 8 char *stu_name; 9 unsigned int power;10 };11 12 int main ()13 {14 struct stu_power *head; //head存放 stu_power的首地址15 16 head = (struct stu... 阅读全文
posted @ 2012-11-01 23:27 ____xyz 阅读(54) 评论(0) 推荐(0)
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3