自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(15)
  • 收藏
  • 关注

原创 vue3实现一个简单的数字滚动效果

一、实现数字按步长递增的效果。二、实现翻牌滚动的效果。

2023-07-02 18:34:50 4409

原创 jquery报错cannot read property ‘length‘ of undefined

写spring MVC项目时控制台报错:jquery报错cannot read property 'length' of undefined查看一下自己的controller层传递的参数是json字符串:JSONArray array = new JSONArray()打印一下success:function(a)中获取的a,发现可以获取到json字符串并且数据正确[{name:"苹果1.jpg"}],就是console.log(a.name)时会undefined再检查一下自己ajax方法:.

2021-03-29 16:35:53 843 1

原创 spring MVC报错You have an error in your SQL syntax; check the manual...的解决笔记

做spring MVC项目的时候报错:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near....然后根据控制台执行的流程去查找的对应的SQL映射文件:insert into comment(item_id,users_id,content,c_date,c_rank,c_images

2021-03-28 17:41:20 310

原创 Android:设计一个具有3个选项的菜单程序,单击每个选项时分别跳转到3个不同的页面。

1.界面设计2.原理先设计一个选项菜单,再使用Intent组件进行页面的切换,结合Bundle类在Activity页面之间传递数据。3.源码(1)MainActivity.javapackage com.example.tanjy.ex3_3;import android.support.v7.app.AppCompatActivity;import androi...

2019-09-28 12:43:46 3688 1

原创 【Android】编写一个简易计算机

1.界面2.源代码activity_main.xml<?xml version="1.0" encoding="utf-8"?><GridLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/to...

2019-09-22 14:04:47 1105

原创 用数据结果算法编写一个学生信息管理系统

用单链表编写,包含输入、插入、修改、删除、查询、显示功能。#include&lt;iostream&gt;#include&lt;string&gt;#include&lt;cstdlib&gt;using namespace std;struct Student{ string sex;//性别 string name;//姓名 char number[20];//学号 string id;/...

2018-07-09 19:46:27 427

原创 用C++设计的一个学生管理系统

该系统包含增加,删除,修改,查询,浏览的功能,分别用五个文件编写。//employee.h#include&lt;iostream&gt;#include&lt;string&gt;using namespace std;class Date//出生日期{protected: int year; int month; int day;public: void Set(int y,int m,int...

2018-07-09 19:43:31 6146 1

原创 数据结构实验六之图的邻接矩阵存储实现

源代码:#ifndef MGraph_H#define MGraph_Hconst int MaxSize=10;template&lt;class DataType&gt;class MGraph{ public: MGraph(DataType a[],int n,int e); ~MGraph(){} void DFSTraverse(int v);//深度优先遍历 void BFS...

2018-05-26 11:31:09 661

原创 数据结构实验五之二叉树的实现

顺序二叉树源代码:#include"iostream"using namespace std;class BiTree{public: BiTree(); ~BiTree(); int preorder(int n); int inorder(int n); int postorder(int n); int creat_BT(); int visit(int n); int Tree[100];...

2018-05-17 19:34:38 219

原创 数据结构实验四之二叉树的实现

源代码:#include&lt;iostream.h&gt;const int QSize=100;struct BiNode{char data;BiNode *lchild,*rchild;};class BiTree{BiNode*root;//指向根结点的头指针BiNode*Creat(BiNode *bt);//构造函数,建立一棵二叉树void Release(BiNode *bt);/...

2018-05-10 21:07:56 508

原创 数据结构实验三之双链表

3.建立一个由n个学生成绩的双链表,实现对数据的插入,删除,查找等操作。方法1:建立工程,建立头文件Student.h,建立源文件Student.cpp和包含主函数的源文件Student_main.cpp源代码:#ifndef Student_H#define Student_Hstruct Node{ double data; Node*prior,*next;};class Student{ ...

2018-05-03 20:04:43 289

原创 数据结构实验三之单链表.

2..建立一个由n个学生成绩的顺序表,实现对数据的插入,删除,查找等操作。源代码:#ifndef Student_H#define Student_Htemplate&lt;class DataType&gt;struct Node{ DataType data; Node&lt;DataType&gt;*next;};template&lt;class DataType&gt;class Stu...

2018-05-01 18:59:19 429

原创 数据结构实验三之顺序表

1.建立一个由n个学生成绩的顺序表,实现对数据的插入,删除,查找等操作。源代码:#ifndef Student_H#define Student_Hconst int MaxSize=100;class Student{public: Student(){length=0;} Student(double a[],int n); ~Student(){} void Insert(int i,int...

2018-05-01 16:10:23 438

原创 数据结构实验二

1.顺序栈源代码:#ifndef SeqStack_H#define SeqStack_Hconst int StackSize=10;template&lt;class DataType&gt;class SeqStack{ public: SeqStack(); ~SeqStack(){} void Push(DataType X); DataType Pop(); DataType...

2018-04-26 19:07:42 269

原创 数据结构实验一

#ifndef SeqList_H#define SeqList_Hconst int MaxSize=10;class SeqList{public: SeqList(){length=0;} SeqList(int a[],int n); ~SeqList(){} void Insert(int i,int x); int Delete(int i); int Locate(int x); v...

2018-04-03 23:41:22 270

空空如也

空空如也

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

TA关注的人

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