会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
datuzhiIC
博客园
首页
新随笔
联系
订阅
管理
2026年6月
C语言_柔性数组的使用
摘要: struct S { int n; int arr[];//柔性数组成员 }; int main() { //柔性数组的使用 struct S * ps =(struct S*)malloc(sizeof(struct S)+40); if (ps == NULL) { return 1; } ps
阅读全文
posted @ 2026-06-02 10:46 火炎焱大兔汁
阅读(2)
评论(0)
推荐(0)
2026年5月
C语言_通讯录
摘要: //用C语言实现一个通讯录 //包括:test.c,contact.c,contact.h test.c #define _CRT_SECURE_NO_WARNINGS #include "contact.h" //1.静态版本 enum Option { EXIT, ADD, DEL, REARC
阅读全文
posted @ 2026-05-13 11:58 火炎焱大兔汁
阅读(5)
评论(0)
推荐(0)
C语言_strtok_切割字符串
摘要: //strtok //切割字符串 int main() { const char* sep = "@."; char email[] = "bilibili@bitjiuyeke.com.cn"; char cp[40] = { 0 }; strcpy(cp,email); char* ret =
阅读全文
posted @ 2026-05-10 15:24 火炎焱大兔汁
阅读(3)
评论(0)
推荐(0)
C语言_strcat字符串追加
摘要: //字符串追加 int main() { char arr1[20] = "hello "; strcat(arr1,"world"); printf("%s\n",arr1); return 0; } //模拟字符串追加 #include<assert.h> char* my_strcat(cha
阅读全文
posted @ 2026-05-09 13:29 火炎焱大兔汁
阅读(2)
评论(0)
推荐(0)
C语言_字符串_strcpy
摘要: 模拟实现 strcpy //模拟实现 strcpy #include<assert.h> char * my_strcpy(char *dest,const char *src) { assert(dest && src); char* ret = dest; while (*src != '\0'
阅读全文
posted @ 2026-05-09 12:01 火炎焱大兔汁
阅读(5)
评论(0)
推荐(0)
Python_实战_爬取网页音乐数据
摘要: 项目介绍:爬取网易云音乐歌曲数据 平台:python+pycharm URL = 'https://v2-zj-sccm.kwaicdn.com/bs2/photo-video-mz/5215168559178136891_2fc27dfcc087ab13_4842_hd15.mp4?tag=1-1
阅读全文
posted @ 2026-05-08 15:46 火炎焱大兔汁
阅读(1)
评论(0)
推荐(0)
Python_学习
摘要: python基础语法 变量与数据类型 运算符 条件语句(If/else) 循环(for/while) 函数定义 列表/字典等基本数据结构 学习资料: python3 廖雪峰 https://liaoxuefeng.com/index.html?src=redirect 2026-05-07 16:0
阅读全文
posted @ 2026-05-07 16:07 火炎焱大兔汁
阅读(3)
评论(0)
推荐(0)
Python_语法
摘要: 1.打印 格式:print('') 如果要让Python打印出指定的文字,可以用print()函数,然后把希望打印的文字用单引号或者双引号括起来,但不能混用单引号和双引号: print('hello, world') hello, world
阅读全文
posted @ 2026-05-07 10:33 火炎焱大兔汁
阅读(2)
评论(0)
推荐(0)
Python_安装
摘要: Python+pycharm安装视频:https://www.bilibili.com/video/BV1v5oVBzEyf/?spm_id_from=333.337.search-card.all.click&vd_source=98599beaf2887aedf07d02cc1f2b1467 步
阅读全文
posted @ 2026-05-07 10:30 火炎焱大兔汁
阅读(6)
评论(0)
推荐(0)
C语言_指针和数组_知识总结
摘要: 1.指针是什么? /* 内存 >内存的单元(1byte) >编号 >地址 >指针 所以指针就是一个地址 口语上说的指针一般指:指针变量,指针变量是一个变量,就是一块内存空间,用来保存地址。 指针变量的大小?4/8 */ 2.指针的运算 /* +-整数 指针-指针 指针的关系运算 */ 3.指针数组
阅读全文
posted @ 2026-05-05 17:01 火炎焱大兔汁
阅读(6)
评论(0)
推荐(0)
下一页
公告