![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
MyProgram
qqandpinecone
这是一个个人简介。
展开
-
Think I’ll Buy Me a Football Team-2924
题目:http://acm.hdu.edu.cn/showproblem.php?pid=2924代码:#include<iostream>using namespace std;int main(){ int num=0,fsum=0,lsum=0,k=1; while(cin>>num&&num!=0){ int **p=new ...原创 2019-03-15 21:13:00 · 178 阅读 · 0 评论 -
LR(0) 构造DFA
代码:package analyzer;import java.util.Scanner;public class Analyze { static Scanner in = new Scanner(System.in); static String endChar,misendChar; static String[] grammer; static String[] ...原创 2018-12-14 22:50:46 · 2150 阅读 · 1 评论 -
LR(0) 分析表判断字符串
代码:package analyzer;import java.util.*;public class Table { static Scanner in = new Scanner(System.in); static String endChar,misendChar; static int num; public static void main(String[] ...原创 2018-12-14 22:46:32 · 1370 阅读 · 0 评论 -
小窗口遮盖层
登录小窗口遮盖层代码摘要:<style> #cover{ display:none; position:fixed; z-index:1; top:0; left:0; width:100%; height:100%; background:rgba(0, 0, 0, 0.2); } #coverShow{ display:none; positio...原创 2018-12-12 15:57:12 · 237 阅读 · 0 评论 -
maven-spring
pom.xml 依赖的 jar 包很多 完整代码在:https://github.com/15657318057/mavendb.propertiesdriver=com.mysql.jdbc.Driverjdbc.url=jdbc\:mysql\://localhost\:3306/test?useUnicode\=true&characterEncoding\=...原创 2019-04-09 11:18:55 · 141 阅读 · 0 评论 -
springmvc-mybatis 登录
完整代码 :https://github.com/15657318057/springmvc-mybatis-loginAdminController.javapackage com.edu.controller;import java.io.IOException;import javax.annotation.Resource;import javax.serv...原创 2019-04-28 19:39:31 · 246 阅读 · 0 评论 -
学生-课程-分数关系的设计 hibernate
Student.javapackage studentinfo;import java.util.HashSet;import java.util.Set;public class Student { public int id; public String sname; public Set<Course> courses=new HashSet<Cour...原创 2018-12-22 10:36:26 · 244 阅读 · 0 评论 -
spring aop 入门小示例
首先需要导入:spring的jar包,aopalliance.jar , aspectjweaver.jar第一种方式:使用@Before @AfterReturning 等第二种方式:使用aop:config第一种:PhoneService.javapackage phone;public class PhoneService { private static...原创 2018-12-22 17:16:36 · 153 阅读 · 0 评论 -
我的账户 PHP
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <title>我的账户</title> <link rel="stylesheet" href="./layui/css/layui.css"> <link rel="sty...原创 2019-03-03 12:03:54 · 147 阅读 · 0 评论 -
编辑与删除 PHP
<table class="list-table"> <thead> <tr> <th><input type="checkbox"></th> <th style="display: n...原创 2019-03-03 11:43:25 · 261 阅读 · 0 评论 -
批量删除
<input type="button" value="批量删除" style="margin-left: -20px;" onclick="deleteAbsence()"><img class="icon" src="picture/moredelete.png" width="20" height="20" ></li><input type="...原创 2019-03-03 11:22:40 · 165 阅读 · 0 评论 -
分页
<table class="list-table"> <thead> <tr> <th><input type="checkbox"></th> <th style="display: n...原创 2019-03-03 11:13:47 · 158 阅读 · 0 评论 -
登录验证
<?php@$connect = mysql_connect('localhost','root','123456');mysql_set_charset("utf8",$connect);if (!$connect) { die('数据库连接失败!'.mysql_error());}$link = mysql_select_db('checkattendance',$conn...原创 2019-03-03 10:48:13 · 238 阅读 · 0 评论 -
Servlet JavaBean
UserBean.javapackage user;import java.sql.Timestamp;public class UserBean { private String account; private String nickname; private String pwd; private Timestamp lasttime; private int log...原创 2019-01-01 16:54:28 · 183 阅读 · 0 评论 -
SSH 登录与注册
代码:User.javapackage model;public class User { private long id; private String name; private String password; public User() { // TODO Auto-generated constructor stub } public User(long...原创 2018-12-26 14:51:12 · 1298 阅读 · 3 评论 -
phpCAS 单点登录
根目录下新建文件 phpcas 下载phpCAS 我的文件链接https://github.com/15657318057/phpCAS-Example/tree/master/phpcas 修改config.php 新建示例文件 如verify.phpconfig.php<?php/** * The purpose of this central config...原创 2019-08-15 19:41:35 · 2209 阅读 · 0 评论