- 博客(3)
- 收藏
- 关注
原创 郝斌数据结构-链表
#include <stdio.h> #include <stdlib.h> #include <malloc.h> typedef struct Node { int data; struct Node * pNext; }*PNODE,NODE; PNODE create_list(void); //创建链表 void traverse_list(PNO...
2020-02-10 15:35:46
367
原创 郝斌数据结构自学笔记typedef用法
#include <stdio.h> #include <stdlib.h> #include using namespace std; typedef struct Student { int sid; int age; }* PST,ST; int main(void) { ST st; PST ps = &st; ps->age = 10; printf...
2020-02-03 09:46:24
101
原创 郝斌数据结构自学总结10_跨函数使用内存
通过malloc函数在调用函数中创建内存供主函数使用 #include<stdio.h> #include<malloc.h> //20200201 //跨函数使用内存 struct Student { int sid; int age; }; struct Student* CreatStudent(void); ShowStudent(struct Student*);...
2020-02-01 12:42:30
89
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人