自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 动态库调试-QT

Qt动态库调试方法_qt 动态库调试-CSDN博客QT调试动态库-找不到动态库链接符号_qt 调试动态库-CSDN博客

2023-11-24 10:44:59 516 1

原创 利用函数 分配空间,返回指针

#include#include#includechar *GetMemory(int size)//函数指针  *不能少{char *a=NULL;a=(char *)malloc(sizeof(100));return a;}void get(char **str,int size){*str=(char *)malloc(sizeof(100));

2016-10-27 16:48:02 182

转载 倒序输出

#include#include#includeint main(){char* src = "hello,world";//栈空间  stackint len = strlen(src);char* dest = (char*)malloc(len+1);//要为\0分配一个空间heap  堆空间  手动分配char* d = dest;char* s =

2016-10-27 10:37:22 371

原创 菱形(C语言)

# includeint main(){int i;int j;int c;int m=25;int l=m/2;for(i=0;i{if(i{for(j=0;j{if(j==(l-i) || j==(l+i)){printf(" *");}else{printf("  ");}}printf("\n");

2016-10-19 19:16:57 272

原创 读写文件

#include#include#includetypedef struct stu//结构体{char num[20];char name[20];struct stu * next;}pstu,*st;void write(pstu *head)//写入文件,写入文件不用返回值,只是让这个函数执行写入文件的过程,需要吧链表传进去{if(head==N

2016-10-18 12:38:21 211

原创 链表保存数据

#include#include#includetypedef struct stu//结构体{int num;char name[20];struct stu * next;}pstu,*st;st add(st temp,st *head);//链表  添加节点void show(pstu  * head);//显示链表void sss();st

2016-10-18 11:20:36 1210

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除