2019年2月28日

逆波兰运算器

摘要: 逆波兰的主函数。int main(){ sqStack s; char c; double d,e; char str[MAXBUFFER]; int i=0; InitStack(&s); printf("please with nibolan expression input,\nnumber 阅读全文

posted @ 2019-02-28 10:23 初中就开始混世的大魔王 阅读(152) 评论(0) 推荐(0)

2019年2月26日

C语言之随机数函数( rand() )的使用方法

摘要: 文章出自个人博客https://knightyun.github.io/2018/04/25/c-rand-number,转载请申明。 在程序设计中,难免会使用到随机值函数,其原理与语法大多类似,接下来以C语言为例介绍其随机值函数 rand() 用法。 原理 引用百度百科,首先,需要包含头文件: # 阅读全文

posted @ 2019-02-26 12:17 初中就开始混世的大魔王 阅读(5320) 评论(0) 推荐(0)

导航