自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

怪咖的博客

活到老,学到老。

  • 博客(22)
  • 资源 (1)
  • 收藏
  • 关注

原创 自己手写一个 SpringMVC 框架

 前端框架很多,但没有一个框架称霸,后端框架现在Spring已经完成大一统.所以学习Spring是Java程序员的必修课.Spring 框架对于 Java 后端程序员来说再熟悉不过了,以前只知道它用的反射实现的,但了解之后才知道有很多巧妙的设计在里面。如果不看 Spring 的源码,你将会失去一次和大师学习的机会:它的代码规范,设计思想很值得学习。我们程序员大部分人都是野路子,不懂什么叫代码规范。...

2018-03-25 21:30:27 274

原创 Java如何连接MySQL数据库进行操作

在实际使用的应用程序中,大部分是需要利用数据库进行数据的查询与操作,因为数据库支持强大的SQL语句,可进行事务处理等。接下为大家介绍如何在Java应用程序中使用JDBC提供的API和数据库进行信息交付。首先是需要安装好MySQl数据库,请参考另一篇文章:Windows10安装MySql数据库把安装好的数据库安装好,建立好数据库、创建表后,还需要通过JDBC来操作数据库,Java通过使用JDBC提供...

2018-03-25 21:25:01 604

转载 在eclipse中建立lua开发环境

在Eclipse中开发lua代码LuaEclipse 是 Eclipse 用来开发 Lua 程序的插件,功能比较完备,它可以实现编Lua脚本代码、语法高亮、编译错误提示,代码和注释的折叠、调试等。LuaEclipse:http://luaforge.net/projects/luaeclipse/一、LuaEclipse插件安装下载LuaEclipse的离线安装包,下载地址:LuaEclipse将...

2018-03-25 21:23:35 3920

原创 JavaScript大全

1. viewport:也就是可视区域。对于桌面浏览器,我们都很清楚viewport是什么,就是出去了所有工具栏、状态栏、滚动条等等之后用于看网页的区域,这是真正有效的区域。由于移动设备屏幕宽度不同于传统web,因此我们需要改变viewport;实际上我们可以操作的属性有4 个:复制代码代码如下:width -             //  viewport 的宽度

2017-10-31 11:16:53 307

转载 SQL基本语句

基础一、基础  1、说明:创建数据库  CREATE DATABASE database-name  2、说明:删除数据库  drop database 数据库名  3、说明:备份sql server  --- 创建 备份数据的 device  USE master  EXEC sp_addumpdevice 'disk', 't

2017-09-11 10:17:11 465

原创 C语言-数据结构-排序

#include #include #define maxsize 100typedef int datatype;typedef struct{    datatype num;    char name[20];    float china;    float math;    float english;}recordtype;typedef

2017-05-25 17:57:51 339

原创 C语言-数据结构-线性表检索和二分检索

#include #include #define maxsize 100typedef int datatype;typedef struct{    datatype data[maxsize];  ///数组    int len;   ///线性表长度}seqlist;///顺序查找int seqsearch1(seqlist l,datatype

2017-05-25 17:56:12 661

原创 C语言-数据结构-prim算法求最小生成树

#include #include #include "ljjz.h"typedef struct edgedata{    int beg,en;    int length;}edge;void peim(Mgraph g,edge tree[M-1]){    edge x;    int d,min,j,k,s,v;    for(v=1;v

2017-05-25 17:54:58 2210

原创 C语言-数据结构-克鲁斯卡尔kruskal

#include #include //#include "ljjz.h"//求解最小生成树算法typedef struct edgedata{    int beg,en;///边顶点序号    int length;///边的权值长}edge;///对边向量快速排序///边向量edges边向量左右下标left rightvoid QuickSort(

2017-05-25 17:54:03 487

原创 C语言-数据结构-图的遍历

#include #include #include "ljb.h"int visited[M];///图的遍历void dfs(linkedgraph g,int i){    edgenode *p;    printf("visit vertex:%c\n",g.adjivex[i].vertex);    visited[i]=1;    p=g.a

2017-05-25 17:52:47 1244

原创 C语言-数据结构-二叉树

#include #include /*结点的度:结点拥有的子女数树的度:树中所有结点度的最大值叶子结点(终端结点):度为0的结点树枝:树中连续两个结点的线段路径:路径的长度等于所经过的树枝条数树的深度(高度):树中结点的最大层数一颗非空二叉树的第i层上至多有(2的(i-1)次方)个结点(i>=1)满二叉树:结点个数为2的h-1方完全二叉树:最后一层均向

2017-05-25 17:51:31 392

原创 C语言-数据结构-树

#include #include /*树的遍历1.树的前序遍历先访问跟结点,在从左到右2.树的后序遍历先从左到右,在访问跟结点3.层次遍历左到右*////前序void preoder(tree p){    int i;    if(p!=NULL)    {        printf("%c",p->data); 

2017-05-25 17:50:04 383

原创 C语言-数据结构-插入

#include #include struct node{    int date;    struct node *next;};struct node* creattable(int n)///n节点个数{    int i,a;    struct node *head,*p1,*p2;    head = NULL;  ///头结点为空   

2017-05-24 23:17:24 765

原创 C语言-数据结构-链串插入删除链接

#include #include ///链串插入和删除和连接///adc  mn dfetypedef char datatype;typedef struct node{    datatype  data;    struct node *next;}node;typedef node *linkstr;///创建字符串void creates

2017-05-24 23:11:57 1860

原创 C语言-数据结构-链栈

#include #include int text(char *t,char *p){    int i=0,j=0,k=0;    while(i    {        k=1;        while(j        {            if(t[i]==p[i+j])                j++;           

2017-05-24 23:10:31 278

原创 C语言-数据结构-创建栈

#include #include #define maxsize 100///创建栈typedef int data;typedef struct{    data *base; //栈底    data *top; //栈顶    int stacksize;  //栈大小}stack;//创建栈(初始化)void init(stack *s)

2017-05-24 23:09:13 11005 3

原创 C语言-数据结构-双链表插入查找

#include #include ///双链表typedef int datatype;typedef struct node{    datatype data;    struct node *prior,*next;}body;body *table(){    int i;    body *head,*p,*s,*end;    pr

2017-05-24 23:06:52 368

原创 双链表

#include #include typedef struct node{    int data;    struct node *prior,*next;}body;body *table(int n){    int i;    body *p,*head,*s;    head=(body *)malloc(sizeof (body));   

2017-05-23 21:51:10 216

原创 C语言-数据结构-单链表倒置

/*#include #include //单链表倒置typedef struct node{    int data;    struct node *next;}body;body *table(){    int i,a;    body *head,*p1,*p2;    head=NULL;    for(i=0;;i++)   

2017-05-23 21:30:52 3197

原创 C语言-数据结构-链表删除

#include #include struct node{    int date;    struct node *next;};struct node *table(int n){    int i,a;    struct node *head,*p1,*p2;    head=NULL;    for(i=n;i>0;i--)    {

2017-05-18 18:39:55 448

原创 C语言-数据结构-链表合并无需输入结点

#include #include typedef struct node{    int date;    struct node *next;}body;body *table(){    int i,a;    body *head,*p1,*p2;    head=NULL;    for(i=0;;i++)    {        p1

2017-05-18 18:38:11 254

原创 C语言-数据结构-结点链表

#include #include //顺序结构void myinsert(int *a,int n){    int i,num,ipos;    printf("please inputs num or ipos:");    scanf("%d,%d",num,ipos);    if(ipos>n||ipos    {        printf("

2017-05-18 18:36:40 424

JS脚本大全各类常用脚本

JS常用脚本大全,JS常用脚本大全,JS常用脚本大全,JS常用脚本大全,JS常用脚本大全,JS常用脚本大全,

2017-11-04

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除