09 2017 档案
摘要:学习自:https://61mon.com/index.php/archives/183/ next[j]=2 匹配串右滑,j=next[j] 还是不匹配,j=next[0]=-1 进入判断条件,i、j 都要加1,j 因为是-1 + 1=0 。被初始化。 Java代码:
阅读全文
摘要:6.1浮点数的数值范围 根据上面的探讨,浮点数可以表示-∞到+∞,这只是一种特殊情况,显然不是我们想要的数值范围。 以32位单精度浮点数为例,阶码E由8位表示,取值范围为0-255,去除0和255这两种特殊情况,那么指数e的取值范围就是1-127=-126到254-127=127。 (1)最大正数
阅读全文
摘要:#include "LinkList.h" #include "MultiArr.h" #include "procs.h" #include "str.h" #include "stdio.h" void main() {while(1){ int i , j; int index; printf("请输入需要访问的文件夹号:\n"); scanf("%d",...
阅读全文
摘要:#pragma once #include "stdafx.h" template class CLinkList { public: typedef struct LNode{ T data; struct LNode * next; }LNode;//单向链表 LNode * list;//头指针 CLinkList() ...
阅读全文
摘要:1.新建模板类提示版本太低 Syntax error, type parameters are only available if source level is 1.5 当我的eclipse使用jdk1.6的时候,创建泛型类,系统会提示错误: “Set project compiler compl
阅读全文

浙公网安备 33010602011771号