自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (16)
  • 收藏
  • 关注

转载 C++的public、protected、private 详解

1、对于单个类来说,这三个范围限定符的意义如下: 公有成员(public member) 在程序的任何地方都可以被访问。实行信息隐藏的类将其public 成员限制在成员函数上,这种函数定义了可以被一般程序用来操纵该类类型对象的操作私有成员(private member) 只能被成员函数和类的友元访问。实行信息隐藏的类把其数据成员声明为private被保护成员(protect

2012-03-28 09:44:30 822

原创 Linux 变干边学 学习笔记之Linux进程、管道和重定向命令

本来想写一个更详细的命令总结,但是由于本人比较懒,所以只把这一章学到的敲过常用命令罗列如下,同时便于以后复习之用: 1ps -e显示系统所有执行进程 2ps a显示当前控制台执行进程(包括状态STAT,状态类型:SRTZ) 3ps显示当前终端执

2012-03-27 10:59:18 615

转载 C语言结构体定义、赋值举例

结构体是一种特殊的数据类型,它可以将很多数据类型打包,然后只要操作该结构体的指针变量便可以轻松的访问该结构体内其他的数据。举例如下:struct student{CHAR NAME[8];int age;CHAR depart[20];float grade;}freshman ;student是结构名,大括号内为该结构体打包的数据类型。如果定义 struct

2012-03-22 19:51:17 2365

转载 ARP原理是什么及ARP攻击的过程解析

首先说一下什么是ARP。如果你在UNIX Shell下输入 arp -a (9x下也是),你的输出看起来应该是这样的:   Interface: xxx.xxx.xxx.xxx   Internet Address Physical Address Type   xxx.xxx.xxx.xxx 00-00-93-64-48-d2 dynamic   xxx.xxx.xxx.xxx

2012-03-13 21:32:34 749

glpk-4.34-setup.exe

Windows 7上安装pulp和glpk步骤: 亲测环境: Windows 6.1.7601 Service Pack 1 Build 7601 x64 Python 2.7.11 PuLP 1.6.8 GLPK 4.34 安装步骤: 1、下载PuLP安装包:前提是,已安装python2.6以及2.6以上版本,在网页(https://pythonhosted.org/PuLP/main/installing_pulp_at_home.html)上点击PuLP zipfile下载pulp包,当然,也可以在我的资源里下载 2、安装PuLP:将zipfile解压缩,并在命令行窗口中,进入解压缩的目录,然后输入命令:setup.py install 3、下载glpk安装包:在网页(https://sourceforge.net/projects/gnuwin32/files/glpk/4.34/)上,下载glpk-4.34-setup.exe(也可以在我的资源里下载),然后双击默认安装 4、按照以上步骤,安装完以后,写一个.py的脚本并运行,脚本内容: from pulp import * pulp.pulpTestAll() 然后,会看到以下类似输出结果: D:\002-Task_150524\117-17data_thesis\004-code\testPulp.py Testing zero subtraction Testing inconsistant lp solution Testing continuous LP solution Testing maximize continuous LP solution Testing unbounded continuous LP solution Testing Long Names Testing repeated Names Testing zero constraint Testing zero objective Testing LpVariable (not LpAffineExpression) objective Testing Long lines in LP Testing LpAffineExpression divide Testing MIP solution Testing MIP solution with floats in objective Testing MIP relaxation Testing feasibility problem (no objective) Testing an infeasible problem Testing an integer infeasible problem Testing column based modelling Testing dual variables and slacks reporting Testing fractional constraints Testing elastic constraints (no change) Testing elastic constraints (freebound) Testing elastic constraints (penalty unchanged) Testing elastic constraints (penalty unbounded) * Solver pulp.solvers.PULP_CBC_CMD passed. Solver pulp.solvers.CPLEX_DLL unavailable Solver pulp.solvers.CPLEX_CMD unavailable Solver pulp.solvers.CPLEX_PY unavailable Solver pulp.solvers.COIN_CMD unavailable Solver pulp.solvers.COINMP_DLL unavailable Testing zero subtraction Testing inconsistant lp solution Testing continuous LP solution Testing maximize continuous LP solution Testing unbounded continuous LP solution Testing Long Names Testing repeated Names Testing zero constraint Testing zero objective Testing LpVariable (not LpAffineExpression) objective Testing LpAffineExpression divide Testing MIP solution Testing MIP solution with floats in objective Testing MIP relaxation Testing feasibility problem (no objective) Testing an infeasible problem Testing an integer infeasible problem Testing column based modelling Testing fractional constraints Testing elastic constraints (no change) Testing elastic constraints (freebound) Testing elastic constraints (penalty unchanged) Testing elastic constraints (penalty unbounded) * Solver pulp.solvers.GLPK_CMD passed. Solver pulp.solvers.XPRESS unavailable Solver pulp.solvers.GUROBI unavailable Solver pulp.solvers.GUROBI_CMD unavailable Solver pulp.solvers.PYGLPK unavailable Solver pulp.solvers.YAPOSIB unavailable 表示已经成功安装pulp和glpk

2017-08-29

pulp-1.6.8.zip

Windows 7上安装pulp和glpk步骤: 亲测环境: Windows 6.1.7601 Service Pack 1 Build 7601 x64 Python 2.7.11 PuLP 1.6.8 GLPK 4.34 安装步骤: 1、下载PuLP安装包:前提是,已安装python2.6以及2.6以上版本,在网页(https://pythonhosted.org/PuLP/main/installing_pulp_at_home.html)上点击PuLP zipfile下载pulp包,当然,也可以在我的资源里下载 2、安装PuLP:将zipfile解压缩,并在命令行窗口中,进入解压缩的目录,然后输入命令:setup.py install 3、下载glpk安装包:在网页(https://sourceforge.net/projects/gnuwin32/files/glpk/4.34/)上,下载glpk-4.34-setup.exe(也可以在我的资源里下载),然后双击默认安装 4、按照以上步骤,安装完以后,写一个.py的脚本并运行,脚本内容: from pulp import * pulp.pulpTestAll() 然后,会看到以下类似输出结果: D:\002-Task_150524\117-17data_thesis\004-code\testPulp.py Testing zero subtraction Testing inconsistant lp solution Testing continuous LP solution Testing maximize continuous LP solution Testing unbounded continuous LP solution Testing Long Names Testing repeated Names Testing zero constraint Testing zero objective Testing LpVariable (not LpAffineExpression) objective Testing Long lines in LP Testing LpAffineExpression divide Testing MIP solution Testing MIP solution with floats in objective Testing MIP relaxation Testing feasibility problem (no objective) Testing an infeasible problem Testing an integer infeasible problem Testing column based modelling Testing dual variables and slacks reporting Testing fractional constraints Testing elastic constraints (no change) Testing elastic constraints (freebound) Testing elastic constraints (penalty unchanged) Testing elastic constraints (penalty unbounded) * Solver pulp.solvers.PULP_CBC_CMD passed. Solver pulp.solvers.CPLEX_DLL unavailable Solver pulp.solvers.CPLEX_CMD unavailable Solver pulp.solvers.CPLEX_PY unavailable Solver pulp.solvers.COIN_CMD unavailable Solver pulp.solvers.COINMP_DLL unavailable Testing zero subtraction Testing inconsistant lp solut

2017-08-29

802.1AS-2011

精确时间同步协议,是基于以太网链路层的IEEE1588时间同步协议的简化版,英文原版。

2012-10-30

excel 物品总价自动计算

excel中存放一张物品单价列表,每个物品标明了数量,根据物品数量和单价计算出所有物品总价。表格中另添一个按钮,可将所有物品数量清零。 涉及知识点:excel函数,宏,按钮调用宏

2012-10-21

华为2012软研C++编程题

华为2012校园招聘软研C++编程题,环境:VC++6.0,题数:3,时间:1小时。

2012-09-09

gdb_reference_v4

gdb 调试命令快速手册,涵盖了大部分常用指令,及其简单用法

2012-07-26

自己动手写嵌入式操作系统DLL预处理cpp文件

把《自己动手写嵌入式操作系统》上的dll预处理文件代码抄了一遍,在VS2005上调试通过。使用时,(1)把代码粘贴到建好的控制台工程主文件里;(2)修改打开的文件路径;(3)编译运行

2012-03-06

如何看datasheet

关于如何看Datasheet 的一些教程,有较详细的注释,英文的。一些做硬件的朋友肯定需要了解的。

2011-11-18

软件项目文档模板

新大陆的软件项目文档模板,这里共享一下!从可行性分析一直到客户验收,一套不错的文档!

2011-11-15

Writing Solid Code

Writing Clean(Solid) Code 英文版 找了好久才找到,提供分享! Written by Steve Maguire Followed by Dave Moore Director of Development, Microsoft Corporation

2011-08-15

PeekPocket_src

用来搜索周边范围内的热点(Access Point) Windows Mobile 6.0下使用 VS2005下编译通过 由于加入编译出错时的解决方法 因此分数会高一些

2011-08-15

wiki离线编辑器 下载

很好用的东西,有时候会卡住,关闭玩重新打开就可以了

2011-07-27

MFC Scrollbar 实例

MFC Scrollbar 实例 VC MFC Scrollbar 实例 VC MFC Scrollbar 实例 VC MFC Scrollbar 实例 VC MFC Scrollbar 实例 VC

2011-04-05

Communications of the ACM July 2010.pdf

美国计算机通讯协会 July 2010 PDF

2011-02-21

多普达8125/838 说明书

多普达8125/838 说明书 主要WM5.0的使用,对初学者应该有些帮助 不过貌似现在只要999元就可以买到了,原来是2860 降得好快!!!

2010-02-02

WinSocket VC6.0

在VC6.0下,使用MFC类做的关于WinSocket的简单文件传输(只能客户端向服务器端发送)以及聊天室功能,修改注释可以得到聊天功能,文件传送和聊天功能不能并用

2010-02-01

空空如也

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

TA关注的人

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