摘要: 动态分配内存 要分配10个int,一个int占几位,10个int一共多少位就拿出多少内存 #define PLAYER_COUNT 10 int *players = malloc(sizeof(int)*PLAYER_COUNT); //print 使用 for(int i=0;i<PLAYER_ 阅读全文
posted @ 2020-12-22 17:28 不擅长纵横的捭阖家 阅读(120) 评论(0) 推荐(0) 编辑