码迷,mamicode.com
首页 > Windows程序 > 周排行
LeetCode Sliding Window Maximum
原题链接在这里:https://leetcode.com/problems/sliding-window-maximum/[1,3,-1,-3,5,3,6,7], andk= 3.用一个deque, 里面存index. 从尾部添加index前先检查deque的尾部index对应的元素nums[ls....
分类:Windows程序   时间:2015-11-05 07:40:26    阅读次数:264
Windows Server 2008 R2 实现多用户同时登陆
Windows Server 2008 R2远程用户数设置在windows server 2008 R2里面,默认的远程桌面连接数为1。这对我们的服务器管理带来了很大的不便,那么怎样来修改2008 r2的远程桌面连接数呢。网上好多转的文章都一样,而且根本就不是Windows Server 2008 ...
分类:Windows程序   时间:2015-11-05 13:32:14    阅读次数:352
C# 委托的几种写法
class Program { delegate string Get(string ss); delegate string Get2(int i); static Func Out = s => s.ToLower(); static Func Out2 = s => { return s.T....
分类:Windows程序   时间:2015-11-05 18:20:53    阅读次数:255
C#习题之推箱子
分类:Windows程序   时间:2015-11-05 22:08:48    阅读次数:166
C#习题之彩票
分类:Windows程序   时间:2015-11-05 22:13:39    阅读次数:228
C#第八天
ArrayListArrayList list=new ArrayList();list.Add() //添加单个元素list.AddRange() //添加集合元素list.Clear() //清空所有元素list.Remove() //删除单个元素,参数写...
分类:Windows程序   时间:2015-11-06 12:37:39    阅读次数:536
win 10 开发菜鸟入门资料
1.0 Github开源 示例库 : https://github.com/Microsoft/Windows-universal-samples2.0 直接将网站包裹成为UWP http://microsoftedge.github.io/WebAppsDocs/en-US/win10/HWA.h...
分类:Windows程序   时间:2015-11-06 12:54:14    阅读次数:261
【C#】打开并读取文件第1行内容
//1.创建StreamReader对象,并指定要读取的文件,与编码格式 StreamReader sr = new StreamReader(@"Content.txt", Encoding.UTF8); //2.调用Stream...
分类:Windows程序   时间:2015-11-06 17:51:47    阅读次数:175
C#写电机驱动程序
前几天实验室做关于电机驱动的实验,用C#写的控制程序程序如下: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System...
分类:Windows程序   时间:2015-11-07 23:20:46    阅读次数:335
浅析Windows系统调用——2种切换到内核模式的方法
首先总结2种切换到内核模式方法的各自流程:内存法(中断法):(用户模式)WriteFile()->ntdll!NtWriteFile()->ntdll!KiIntSystemCall()->int2Eh->查找IDT的内存地址,偏移0x2E处->(内核模式)nt!KiSystemService()->nt!KiFastCallEntry()->nt!NtWriteF..
分类:Windows程序   时间:2015-11-09 01:46:48    阅读次数:872
c#根据配置文件反射
由于项目中用到了反射,准备把各个类库都先写在配置文件中,然后读取配置文件,再对配置文件中配置的类库进行反射。 这样做的好处是各个类库保持独立,其中一个类库出现问题不会影响其他类库,更新项目时,只要更新单个DLL就可以了。1. 首先看下配置文件怎样进行配置在上面的配置文件中创建了自定义节点proces...
分类:Windows程序   时间:2015-11-09 10:38:01    阅读次数:331
Yii1.1.16的安装(windows)
下载yii1.1.16 http://pan.baidu.com/s/1mgyAOnI 解压后放到D盘,并重新命名为yii1.1.16,我是直接放在开发的目录里面,为了方便生成项目 按"Window + R"打开运行窗口 输入cmd 打开命令行工具 --> d: (进入D盘) --> cd ...
分类:Windows程序   时间:2015-11-09 12:09:57    阅读次数:227
[转].NET Framework、C#、CLR和Visual Studo之间的版本关系
原文地址:http://www.xcode.me/more/microsoft-net-framework-version-defineC#版本.NET Framework版本CLR版本VisualStudio版本C#1.0.NET Framework 1.0CLR1.0Visual Studio ...
分类:Windows程序   时间:2015-11-09 15:33:29    阅读次数:950
Win8系统换Win7前格式化磁盘需要做的事情。
解决Win8系统换Win7以后,画面卡在“正在启动Windows” 出厂预装Win8系统换成Win7,必须更换BIOS中的UEFI接口,然后再重装系统,但有人问我,系统通过ghost导入到电脑硬盘当中,重启时,画面就一直卡在“正在启动Windows”处,这是什么原因造成的。 其实这主要是因为分...
分类:Windows程序   时间:2015-11-09 17:15:57    阅读次数:311
UIWindow
IOS中使用 UIView类来表示窗口,一个应用程序只创建一个 UIWindow 。先创建 UIWindow在创建控制器的view,然后再将控制器的view添加到UIWindow 上。一、AppDelegate.m- (BOOL)方法1、系统创建windowself.window = [[UIWin...
分类:Windows程序   时间:2015-11-09 17:17:27    阅读次数:448
WinAPI: ExtCreateRegion - 区域变换
转载:http://www.cnblogs.com/del/archive/2008/06/03/1212534.html 相似函数: SetWorldTransform 本例效果图: 代码文件: unit Unit1; interface uses Windows, Messages, SysUt...
分类:Windows程序   时间:2015-11-10 12:17:13    阅读次数:357
document.frames与window.frames在不同浏览器中的使用
问题:document.frames 只有 IE Opera 支持。等同于 window.frames。用来取得当前页面内 window 对象的集合。在 Firefox Chorome Safari 中使用 document.frames 不能获取到 FRAME 元素解决方案:用 window.fr...
分类:Windows程序   时间:2015-11-10 17:37:59    阅读次数:192
C#基础系列——一场风花雪月的邂逅:接口和抽象类
前言:最近一个认识的朋友准备转行做编程,看他自己边看视频边学习,挺有干劲的。那天他问我接口和抽象类这两个东西,他说,既然它们如此相像, 我用抽象类就能解决的问题,又整个接口出来干嘛,这不是误导初学者吗。博主呵呵一笑,回想当初的自己,不也有此种疑惑么。。。今天打算针对他的问题,结合一个实际的使用场景来...
分类:Windows程序   时间:2015-11-10 17:46:58    阅读次数:395
(原创)c#学习笔记09--定义类06--接口和抽象类
9.6 接口和抽象类 抽象类和接口都包含可以由派生类继承的成员。接口和抽象类都不能直接实例化,但可以声明这些类型的变量。如果这样做,就可以使用多态性把继承这两种类型的对象指定给它们的变量。接着通过这些变量来使用这些类型的成员,但不能直接访问派生对象的其他成员。 下面看看它们的区别。派生类只能继承.....
分类:Windows程序   时间:2015-11-11 13:00:24    阅读次数:266
c#重起 普通路由器
using DotNet.Utilities;using System;using System.Collections.Generic;using System.Linq;using System.Net.NetworkInformation;using System.Text;using Sys...
分类:Windows程序   时间:2015-11-11 14:42:23    阅读次数:311
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!