会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Kaniso_Vok
Enjoy life. It's the best way to fight against an unfair world(laugh~
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
下一页
2019年9月13日
有关realloc malloc calloc
摘要: realloc,malloc,calloc的区别三个函数的申明分别是: void realloc(void ptr, unsigned newsize); void malloc(unsigned size); void calloc(size_t numE...
阅读全文
posted @ 2019-09-13 10:47 Kaniso_Vok
阅读(70)
评论(0)
推荐(0)
2019年8月2日
C语言编程 产生一个随机数
摘要: 利用rand()函数来返回一个一随机数值,范围在0至RAND_MAX间。 返回0至RAND_MAX之间的随机数值,RAND_MAX定义在stdlib.h,(其值至少为32767)。 具体要看定义的变量类型,int整型的话就是32767。 此时产生的是一...
阅读全文
posted @ 2019-08-02 19:33 Kaniso_Vok
阅读(480)
评论(0)
推荐(0)
2019年7月22日
C语言数据结构 链表总结
摘要: 单向链表(无头无循环)1.头插 cur->next=head;head=cur; 2.后插 cur->next=pos->next;pos->next=cur; 3.头删 tmp=head->next;free(head);head=tmp; 4...
阅读全文
posted @ 2019-07-22 16:48 Kaniso_Vok
阅读(115)
评论(0)
推荐(0)
C语言数据结构 双向链表以及基本功能实现
摘要: 项目头文件: #ifndef _LIST_H_#define _LIST_H_#include #includetypedef int LTDataType;typedef struct ListNode { LTDataType _data; ...
阅读全文
posted @ 2019-07-22 11:31 Kaniso_Vok
阅读(97)
评论(0)
推荐(0)
C语言数据结构 单链表及其基本功能实现
摘要: 头文件如下: #ifndef _SLIST_H_#define _SLIST_H_typedef int SLTDataType;typedef struct SListNode{ SLTDataType data; struct SListN...
阅读全文
posted @ 2019-07-22 09:57 Kaniso_Vok
阅读(84)
评论(0)
推荐(0)
C语言数据结构 线性表的基本功能实现
摘要: 头文件如下 #ifndef _SEQLIST_H_#define _SEQLIST_H_// 顺序表的动态存储#include #include #include typedef int SLDataType;typedef struct SeqList ...
阅读全文
posted @ 2019-07-22 09:53 Kaniso_Vok
阅读(123)
评论(0)
推荐(0)
2019年5月9日
心情
摘要:
阅读全文
posted @ 2019-05-09 22:57 Kaniso_Vok
阅读(56)
评论(0)
推荐(0)
2019年5月5日
C语言编程 找出数列中只出现一次的两个数
摘要: 原题:一个数组中只有两个数字是出现一次,其他所有数字都出现了两次。找出这两个只出现一次的数字,编程实现。 此题要用到在数列中找出只出现一次的一个数字的方法参考https://blog.51cto.com/14232799/2382172 此题明显无法一次...
阅读全文
posted @ 2019-05-05 23:04 Kaniso_Vok
阅读(233)
评论(0)
推荐(0)
2019年4月29日
JAVA编程练习 创建风扇对象(开关 风速等)
摘要: 自带测试类源代码: public class TestFan { public static void main(String[] args) { Fan o1=new Fan(); Fan o2=new Fan(); o1.set...
阅读全文
posted @ 2019-04-29 18:15 Kaniso_Vok
阅读(225)
评论(0)
推荐(0)
JAVA编程练习 账户对象创建(账户名 余额 利息 日期等)
摘要: 自带测试类源代码: package testaccount;public class TestAccount{public static void main(String args[]){Account ss=new Account(1122,20000)...
阅读全文
posted @ 2019-04-29 18:13 Kaniso_Vok
阅读(118)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
下一页
公告