码迷,mamicode.com
首页 >  
搜索关键字:using    ( 53562个结果
Using Apache Maven
Apache Maven是一个软件项目管理的综合工具(management and comprehension tool)。可以将WAR文件部署到App Engine中。为了加快部署的速度,App Engine团队提供了插件和Maven原型这两个东西(plugin and Maven Archety...
分类:Web程序   时间:2015-06-17 21:26:05    阅读次数:165
C#获取硬件信息
1. 引用命名空间 using System.Runtime.InteropServices; using System.Management; 2. 取机器名public string GetHostName(){ return System.Net.Dns.GetHostName(...
分类:Windows程序   时间:2015-06-17 19:57:16    阅读次数:188
unity3d脚本
一 创建和使用脚本1 概述GameObject的行为都是被附加到其上面的组件控制,脚本本质上也是一个组件。在unity中创建一个脚本。默认内容例如以下:using UnityEngine;using System.Collections;public class MainPlayer : MonoB...
分类:编程语言   时间:2015-06-17 19:42:52    阅读次数:223
mysql 用非主键where语句报错Error Code: 1175.You are using safe update mode and you tried …
1)这是因为MySql运行在safe-updates模式下,该模式会导致非主键条件下无法执行update或者delete命令,执行命令SET SQL_SAFE_UPDATES = 0;修改数据库模式执行完更新之后再将SET SQL_SAFE_UPDATES 恢复为 1;2)或者还可以在条件后面加li...
分类:数据库   时间:2015-06-17 19:42:27    阅读次数:144
使用流光法实现物体跟踪
简介   本篇讲解使用opencv提供的流光法算法接口,实现物体跟踪。范例代码为参考修改tvl1_optical_flow.cpp实现。 具体实现 实现代码 #include #include   #include "opencv2/video/tracking.hpp" #include "opencv2/highgui/highgui.hpp"   using n...
分类:其他好文   时间:2015-06-17 18:18:35    阅读次数:444
HDU 1507 Uncle Tom's Inherited Land*(二分匹配,输出任意一组解)
要输出任意一组解。一开始时两边都是n*m-k个点做的,答案输出一半,但是错掉了,匹配数没有问题,就是输出解会出错。后来按照奇偶分成两部分就可以了 #include #include #include #include #include using namespace std; const int MAXN=510; int uN,vN; int g[MAXN][MAXN]; int link...
分类:其他好文   时间:2015-06-17 18:17:49    阅读次数:112
数据结构与算法-----堆栈篇
堆栈1.基本特征:后进先出 2.基本操作:压入(push),弹出(pop) 3.实现要点:初始化空间、栈顶指针、判空判满 实践:使用C++语言实现堆栈类,进行示例演示并且根据此堆栈类实现进制的转换。“`include using namespace std; class Stack { public: // 构造函数中分配内存空间 Stack (size_t size...
分类:编程语言   时间:2015-06-17 18:16:56    阅读次数:168
poj 3259 wormholes AC代码(负权环判断, Bellmanford)
#define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include using namespace std; const int INF = 10001; struct Edge { int from; int to; int w...
分类:其他好文   时间:2015-06-17 16:51:50    阅读次数:98
常用ADO.NET操作ACCESS数据库
using System;using System.Collections.Generic;using System.Text;using System.Data;//using System.Data.OleDb;//using System.Drawing;//namespace EColor{...
分类:数据库   时间:2015-06-17 16:36:43    阅读次数:141
【插入排序】直接,折半,二路,希尔
插入排序 给出一下四种方法: 直接插入排序,折半插入排序,二路插入排序,希尔插入排序 代码实现: #include using namespace std; #define size 21 typedef int Sqlist[size]; void SInsertSort(Sqlist &L, int n) //直接插入 { cout << "直接插...
分类:编程语言   时间:2015-06-17 15:30:06    阅读次数:140
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!