- 博客(9)
- 收藏
- 关注
转载 C++之Binary Heap/Max Heap
1 #include <iostream> 2 #include <time.h> 3 #include <random> 4 5 using namespace std; 6 7 //Binary Heap; Max Heap; 8 9 class BinaryHeap 10 { ...
2017-05-17 22:36:00
272
转载 PHP之连接mysql小练习
mysql Test.sql 1 -- phpMyAdmin SQL Dump 2 -- version 4.6.6 3 -- https://www.phpmyadmin.net/ 4 -- 5 -- Host: localhost:3306 6 -- Generation Time: 2017-05-16 21:49:46 7 -- 服务器版本: 5....
2017-05-17 22:34:00
253
转载 PHP之cookies小练习
//5-1.php 1 <? 2 error_reporting(E_ALL ^ E_NOTICE); 3 if ($_COOKIE['username']!="") { 4 echo "欢迎!"."<br/>"; 5 echo "用户名:".$_COOKIE['username']."<br/>...
2017-04-26 14:51:00
118
转载 Socket 聊天工具
1 package cn.davy.mychat; 2 3 import org.eclipse.swt.widgets.Display; 4 import org.eclipse.swt.widgets.FontDialog; 5 import org.eclipse.swt.widgets.Shell; 6 import org.eclipse...
2017-04-20 19:24:00
155
转载 让一张图片铺满整个浏览器
1 <style type="text/css"> 2 html, body 3 { 4 margin: 0; 5 padding: 0; 6 background: url(...
2017-04-18 21:31:00
737
转载 Socket TCP/UDP
TCP TCPClient 1 package com.tcp; 2 3 import java.io.*; 4 import java.net.*; 5 6 class TCPClient 7 { 8 public static void main(String argv[]) throws Exception 9 ...
2017-04-16 11:27:00
127
转载 PHP入门小练习
1、编写字符串检查函数,判断一个字符串是否为有效电话号码。要求:手机号码的长度为11位的数字,固定电话为开头三或四个数字后跟一个短横线后接8位数字。 1 <? 2 function isTel($tel) 3 { 4 5 if (strlen($tel)==11) 6 { 7 ...
2017-04-12 15:41:00
585
转载 Java Web之九九乘法表
NineTabs.jsp 1 <%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8"%> 2 <% 3 String path = request.getContextPath(); 4 String basePath = requ...
2017-04-09 15:04:00
1617
转载 数据结构(C++)之Double Linked List实践
1 //double linked list (type int),the position starts from 0 2 #include <iostream> 3 using namespace std; 4 5 //Class Node 6 class Node 7 { 8 public: 9 Node...
2017-03-26 14:19:00
665
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅