静态链表初始化分配和回收 摘要:动态链表:链表通过使用指针类型实现,链表中结点空间的分配回收由系统函数malloc和free实现静态单链表: ① 在一些高级语言中并没有指针类型,但又想要采用链表作存储结构,即采用顺序结构数…… 文章列表 2022年08月11日 0 点赞 0 评论 383 浏览 评分:7.2
c语言每日知识点 摘要:#include<stdio.h>//自定义函数之整数处理int num[10] = {0};//定义一个全局变量int input_num(void){ int *str = &num[0]; in…… 文章列表 2022年08月11日 0 点赞 0 评论 196 浏览 评分:0.0
二维数组的转置:写一个函数,使给定的一个二维数组(3×3)转置,即行列互换。 摘要:#include<stdio.h>void sww(int str[3][3]) 定义函数{ int i,j; for(i=0;i<3;i++) { …… 文章列表 2022年08月13日 0 点赞 0 评论 362 浏览 评分:9.9
自定义函数处理素数:写一个判断素数的函数,在主函数输入一个整数,输出是否是素数的消息。如果是素数输出prime 如果不是输出not prime 摘要:#include<stdio.h>void sww(int x) 定义函数{ int i,a=0; for(i=1;i<=x;i++) 范围 { if(x%i==0) …… 文章列表 2022年08月13日 0 点赞 0 评论 227 浏览 评分:9.9
c语言二阶 -- 问题A 摘要:``` #include #include using namespace std; int a[11], sum = 0; int main() { for (int i = …… 文章列表 2022年08月13日 0 点赞 0 评论 236 浏览 评分:9.9
写一个拳击小人的格斗python代码 摘要:from pyb import *from max7219 import Matrix8x8import timefrom tm1638 import TM1638'''点阵&…… 文章列表 2022年08月14日 0 点赞 0 评论 655 浏览 评分:9.9
c语言每日知识点 摘要:#include<stdio.h>//自定义函数之整数处理int num[10] = {0};//定义一个全局变量int input_num(void){ int *str = &num[0]; in…… 文章列表 2022年08月14日 0 点赞 0 评论 227 浏览 评分:0.0
蓝桥杯真题——刷题统计 摘要:题目:https://www.dotcpp.com/oj/problem2656.html思路:见注释题解:#include<stdio.h>int main(){ long long int a,b…… 文章列表 2022年08月17日 0 点赞 0 评论 329 浏览 评分:9.9
坚持写博客使我快乐!——用指针实现字符串链接 摘要:题目:https://www.dotcpp.com/oj/problem1747.html思路:用指针将第二个字符串填到第一个字符串中题解:#include<stdio.h>#include<stri…… 文章列表 2022年08月19日 0 点赞 0 评论 210 浏览 评分:0.0
今天不努力 明天变垃圾(内容选摘非原创) 摘要:# 成为你想成为的人:tw-1f60d: *路靠自己走,就算再坎坷,也要自己过。慢慢来,谁还没有一个努力的过程。没有不可治愈的伤痛没有不能结束的沉沦所有失去的都会以另一种方式归来!* **健康第一…… 文章列表 2022年08月21日 0 点赞 0 评论 438 浏览 评分:9.9