自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

转载 C语言 sscanf 和 sprintf函数的说明和使用

sprintf:int sprintf( char *buffer, const char *format [, argument] … ); 功能:把格式化的数据写入buffer容器中(字符串),返回buffer的长度。这里s为一个buffer,类型为字符数组名或者字符指针(需要初始化)。sprintf(s, "%d", 123); //产生"123"sprintf(s, "...

2015-04-29 16:13:00 95

转载 java发送http的get、post请求

直接上代码 1 package wzh.Http; 2 3 import java.io.BufferedReader; 4 import java.io.IOException; 5 import java.io.InputStreamReader; 6 import java.io.PrintWriter; 7 import java.net.U...

2015-04-28 12:36:00 55

转载 五子棋实验报告

一、题目简介五子棋就是五个棋子连在一起就算赢,黑棋先行,下棋下在棋盘交叉线上,由于黑棋先行,优势太大,所以对黑棋设了禁手,又规定了“三手交换”,就是黑棋下第2手棋,盘面第3着棋之后,白方在应白2之前,如感觉黑方棋形不利于己方,可出交换,即执白棋一方变为执黑棋一方。和“五手两打法”,就是黑棋在下盘面上关键的第5手时,必须下两步棋,让白方在这两步棋中任选一步,然后再续...

2015-04-28 08:08:00 3759

转载 python whl包的安装

1.首先安装PIP.https://pip.pypa.io/en/latest/installing.html#install-pippython get-pip.py2.设置好环境变量:C:\Python27\Scripts3.安装wheelspip install SomePackage-1.0-py2.py3-none-any.whl构建wheels:htt...

2015-04-24 10:04:00 94

转载 C互质个数

C互质个数 Time Limit:1000MS Memory Limit:65536KTotal Submit:55 Accepted:27Description贝贝、妞妞和康康都长大了,如今,他们已届小学毕业,老师给贝贝出了一道强化计算的题目,让她做一大堆除法,以确定两个数之间是否有公共的因子,并且还要数清楚没有公因子的数对。可是,毕竟有些数太大了,量又太多了,即使她与妞妞和康康联...

2015-04-23 11:45:00 502

转载 转-Android Studio系列教程六--Gradle多渠道打包

友盟多渠道打包废话不多说,以友盟统计为例,在AndroidManifest.xml里面会有这么一段:<meta-data android:name="UMENG_CHANNEL" android:value="Channel_ID" />里面的Channel_ID就是渠道标示。我们的目标就是在编译的时候这个值能够自...

2015-04-22 18:39:00 50

转载 万能的ViewHolder

/** * 万能的ViewHolder * @author * */ static class ViewHolder { /** * * @param view 所有缓存View的根View * @param id 缓存View的唯一标识 * @return ...

2015-04-21 00:26:00 37

转载 Solved Xentry Diagnostic Software Internal Error (317) 385

We know that improper operation may correspondingly cause error during operation or installation. Recently a Japanese customer reflected that he encountered an error when using the Xentry Diagnostic S...

2015-04-20 09:28:00 79

转载 HDU1879 继续畅通工程 (并查集)

继续畅通工程Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 18218Accepted Submission(s): 7891Problem Description省政府“畅通工程”的目标是使全省任何两个村...

2015-04-19 22:44:00 39

转载 get的四种请求形式

$_GET变量当用户以get方式请求页面并发送数据的时候,$_GET变量就存储了这些数据——get数据!get请求有4种形式:形式1:<form action=”abc.php” method=”get”>这里就是若干个表单项,每个表单项的数据,都是一个$_GET数组的一个单元。表单项1: <input type=”text” name=”v1” />表单项2...

2015-04-18 21:21:00 2074

转载 Android常用知识笔记

1、 安卓图片自适应android从1.6和更高,Google为了方便开发者对于各种分辨率机型的移植而增加了自动适配的功能<supports-screensandroid:largeScreens="true"android:normalScreens="true"android:smallScreens="true"android:anyDensit...

2015-04-18 14:35:00 45

转载 Create and Install Timer Job in MOSS 2007

Excute Timerjob public class TriggerLoadCacheTimerJob : SPJobDefinition { string ExceptionFlag = string.Empty; public TriggerLoadCacheTimerJob() : base() ...

2015-04-17 17:08:00 50

转载 mysql的一些操作

show databases; 查看有哪些数据库use database_name(数据库名称);切换数据库show tables;查看当前数据库有哪些表show columns from table_name;查看表有哪些列(字段)转载于:https://www.cnblogs.com/justwin/p/4425451.html...

2015-04-14 17:13:00 37

转载 (C/C++ )Interview in English - Virtual

Q: What is virtual function?A: Avirtual function or virtual method is a function or method whose behavior can be overridden within an inheriting class by a function with the same signature. This conc...

2015-04-12 20:01:00 62

转载 框架搭建资源 (二) 添加M(模型)

applicationContext.xml<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/conte...

2015-04-12 00:09:00 44

转载 第八章:有限状态机建模

systemverilog可以用两态类型 枚举类型 和 用户自定义类型 进行高层次抽象建模always_comb always_ff always_latch 及枚举类型结合起来,建立FSM模型枚举类型的显示基类型和显示建模转载于:https://www.cnblogs.com/chip/p/4418632.html...

2015-04-11 22:40:00 119

转载 stack vs heap 堆与栈的区别

 申请方式 申请后系统的响应 申请大小的限制 申请效率的比较: 堆和栈中的存储内容 存取效率的比较 转载于:https://www.cnblogs.com/JosephLiao/p/4409607.html...

2015-04-09 14:35:00 37

转载 IceScrum敏捷开发工具的安装文档-官方最新版

Welcome to the iceScrum iceScrum install guide. If you don’t want to manage your own iceScrum installation, you may want to consider our Cloud offers (you can try iceScrum Cloud for free!)Introducti...

2015-04-08 12:09:00 237

转载 如何利用python模仿浏览器进行网页爬取?

http://wwwsearch.sourceforge.net/mechanize/http://www.ibm.com/developerworks/cn/linux/l-python-mechanize-beautiful-soup/http://blog.csdn.net/cnmilan/article/details/9199181简单讲可以利用mechan...

2015-04-08 11:16:00 45

转载 二维数组循环求最大子数组

一、题目要求  输入一个二维整形数组,数组里有正数也有负数。 二维数组首尾相接,象个一条首尾相接带子一样。 数组中连续的一个或多个整数组成一个子数组,每个子数组都有一个和。 求所有子数组的和的最大值。 要求时间复杂度为O(n)题目:返回一个二维整数数组中最大子数组的和二、源代码#include<iostream.h>int main(){   int x,y,...

2015-04-07 22:25:00 77

转载 Linux下使用http协议下载文件

#include <stdio.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <netdb.h>#include <sys/types.h>#include <arpa/inet.h>...

2015-04-07 18:16:00 328

转载 矩阵运算 相加,相减,乘标量,相乘

练习下矩阵的基本运算:O(∩_∩)O~ using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace ConsoleApplication4{ class MyMatrix3 ...

2015-04-05 15:11:00 164

转载 122345随意排列,找出满足条件的数

  题目要求: 1.必须包含122345这六个数 2.数字中的第三位(百位)不能为4 3.输出6位数里所有符合以上两个条件的数代码如下: static String[] numberStrings = {"1","2","3","4","5"}; public static ...

2015-04-03 14:15:00 170

转载 HDU-1241 Oil Deposits

http://acm.hdu.edu.cn/showproblem.php?pid=1241 Oil DepositsTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 15444Accepted ...

2015-04-02 21:46:00 40

转载 Word 2013 无法撤销操作的错误

来自 <http://delxu.blog.51cto.com/975660/1409139>关闭正在运行的所有程序。按Win-R,在运行框中键入regedit,然后单击“确定”。在注册表编辑器中,展开到下列注册表子项: Microsoft Office Word 2013 HKEY_CURRENT_USER...

2015-04-01 16:51:00 58

转载 jquery 绘图工具 flot 学习笔记

今天想做一个统计图表,像163博客的流量统计一样的,借助 flot 实现了,而且很简单。flot网址:http://code.google.com/p/flot/下载 JS 文件,使用方法和 jquery 一样。注意:flot是自动绘制在画布标签(canvas)内的,IE不支持,需要添加 excanvas.min.js ,此文件可以在上面给出的flot网址中下载...

2015-04-01 11:17:00 132

空空如也

空空如也

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

TA关注的人

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