码迷,mamicode.com
首页 >  
搜索关键字:using password: yes    ( 53562个结果
远程线程注入dll
// CommonInject.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include #include #include #include #include using namespace std; #include #pragma comment(li...
分类:编程语言   时间:2014-06-20 13:09:49    阅读次数:306
C/C++ 修改控制台程序文字颜色
可以修改前景色(字体颜色)和背景色。 示例代码如下: #include #include //需要引用Windows.h using namespace std; int _tmain(int argc, _TCHAR* argv[]) { HANDLE hConsole; hConsole = GetStdHandle(STD_OUTPUT_HANDLE); for(int i...
分类:编程语言   时间:2014-06-20 12:38:55    阅读次数:279
在Coxoa和Objextive-C中使用Swift(1)Basic Setup
在Coxoa和Objextive-C中使用Swift(Using Swift with Cocoa and Objective-C) 开始-》基本设置 说明:这是一个针对API和开发技术的初步文件。苹果公司提供了这个文档帮助您选择合适技术和编程接口,来构建苹果品牌产品。这个信息使随时变化的,软件实施要根据本文在最终的操作系统软件和最终文件进行测试。本文档的较新版本可能提供关于新的API或技术的...
分类:其他好文   时间:2014-06-20 12:36:18    阅读次数:276
USACO numtri 数塔问题
/* ID:kevin_s1 PROG:numtri LANG:C++ */ #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define MAXN 1001 //gobal v...
分类:其他好文   时间:2014-06-20 12:02:24    阅读次数:192
OpenCV Machine Learning 之 K最近邻分类器 K-Nearest Neighbors
K-Nearest Neighbors The algorithm caches all training samples and predicts the response for a new sample by analyzing a certain number (K) of the nearest neighbors of the sample using voting, calcu...
分类:其他好文   时间:2014-06-20 11:51:33    阅读次数:337
leetcode -day27 Recover Binary Search Tree & Interleaving String
1、 ?? Recover Binary Search Tree Two elements of a binary search tree (BST) are swapped by mistake. Recover the tree without changing its structure. Note: A solution using O(n) space is pretty...
分类:其他好文   时间:2014-06-20 10:13:49    阅读次数:243
使用静态成员处理时间类
程序代码: #include using namespace std; class Time { public: Time(int=0,int=0,int=0); void show_time( ); //根据is_24和from0,输出适合形式-20:23:5/8:23:5 pm/08:23:05 pm void add_seconds(int); //增加n秒钟 void ad...
分类:其他好文   时间:2014-06-20 09:53:39    阅读次数:206
SharePoint2013数据导入、读取
static void Main(string[] args) { //OperateFolderItem(); DataTable dt = ExcelToDS(@"C:\Users\Administrator\Desktop\wage1.xlsx"); using (SPSite spSite = ...
分类:其他好文   时间:2014-06-20 09:32:22    阅读次数:240
C++ cin不支持录入空格
如果在C++中,用cin>>str;这种方法来接收字符串那么录入的str不能包含空格,否则它会按照空格将整个字符串切分成若干段。如果你要是想输入带空格的字符串那就要用到getline()这个函数了。 示例代码如下: #include #include //getline 包含在 sstream 中,要include! using namespace std; int _tmain(int...
分类:编程语言   时间:2014-06-07 15:28:59    阅读次数:239
unity脚本执行顺序详解
unity脚本自带函数执行顺序如下:将下面脚本挂在任意物体运行即可得到   Awake ->OnEable-> Start ->-> FixedUpdate-> Update  -> LateUpdate ->OnGUI ->Reset -> OnDisable ->OnDestroy using UnityEngine; using System.Collections; public...
分类:其他好文   时间:2014-06-07 14:35:46    阅读次数:279
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!