- 博客(15)
- 资源 (33)
- 收藏
- 关注
原创 DFS, anagrams
// test.cpp : Defines the entry point for the console application. // /**数据结构练习*/ #include "stdafx.h" #include "stdlib.h" #include "stdio.h" #include #include #include #include "string" us
2013-03-25 22:42:06 971
原创 数据结构之二叉树的非递归遍历
// Tree.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "stdio.h" #include "iostream" #include "stack" using namespace std; typedef struct node { int dat
2013-03-23 13:53:43 1856
原创 数据结构之二叉树的递归创建、递归遍历
// Tree.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "stdio.h" #include "iostream" using namespace std; typedef struct node { int data; struct node *
2013-03-23 13:02:39 2166
转载 ZOJ 1004 Anagrams by Stack(dfs堆栈)
此文转载于: http://blog.csdn.net/nealgavin/article/details/8119527 Anagrams by Stack Time Limit: 2 Seconds Memory Limit: 65536 KB How can anagrams result from sequences of stack o
2013-03-23 10:19:44 1590
原创 C# XML文件操作总结 SAX DOM 解析
去年写过一篇关于C# XML文件操作的两种方式,但是没有给出样例代码,这里再次给出两种操作XML文件的方式,并且包含部分样例代码。 以下两种XML操作方式,不仅只是适合C# 语言进行开发,其实语言也都适用。 原文链接: 点击打开链接 http://blog.csdn.net/weixingstudio/article/details/7026712 1. 解析类型介绍
2013-03-21 15:09:22 6783
原创 kmalloc 相关资料总结
LINUX KERNEL “kmalloc” 1. 函数原型 void * kmalloc (size_t size, int flags); 存在于中。 2. 函数简要说明 Kmalloc提供了再设备驱动程序或者内核中动态分配内存的方式,kmalloc函数返回的是虚拟地址(线性地址),分配的内存在物理上是连续的,这对于要进行DMA的设备十分
2013-03-21 14:25:53 1981
原创 C# 非递归遍历所有子目录与子文件
非递归的遍历,使用栈来存储当前访问结点的子节点信息,用于接下来访问。 通过栈保存还没有访问的目录结点 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; us
2013-03-17 14:40:39 2545
原创 C#递归遍历子目录与子目录中的文件
采用C#,通过指定一个路径,来递归的遍历所有的子目录以及子目录中的文件,建一个类似资源管理器的目录树 先递归的遍历所有的子目录,如果没有子目录以后,则遍历所有的当前目录下的文件 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using Sys
2013-03-17 13:08:31 3132
原创 C#常用目录操作总结
在C#中,常用的目录操作类有Directory, DirectoryInfo,基本上两个类提供的方法大同小异,有不算太大的区别,但是Directory类是静态类,所有的函数都是静态函数,可以直接调用。 使用Directory可以创建指定的目录,删除目录,获取目录信息,例如创建时间等,获取目录中的子目录,获取目录中的文件集合等操作,还可以设置目录的访问时间等。 简单的一个目录操作
2013-03-17 12:06:24 1642
原创 C#常用文件操作总结
在C#中,常用的文件操作包含文件的移动,复制,文件的读写,其中文件的读写分为文本文件以及二进制文件。 文本文件与二进制文件有各自的优缺点,文本文件按照字符的ASCII码进行存储,所以你可以直接用记事本打开文本文件,可以看到文件的内容,但是文件的所有的内容在内存中的表示和在记事本中的表示是不一样的,所以读入内存会存在转码的时间消耗,如果你想让文件直观的话,可以采用文本文件。 二进制文件则是直接存
2013-03-17 10:39:56 1771
原创 数据结构之迷宫求解 使用栈
// Maze.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "stdio.h" #include "iostream" using namespace std; const int M=10; const int N=10; int maze[M][N]=
2013-03-16 09:52:41 4310
原创 递归的遍历TreeView中的所有结点 方法2
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace TEST
2013-03-11 19:38:22 1803
原创 递归的遍历TreeView中的所有结点
有时候需要访问TreeView中的所有结点,在所有结点中查找相关信息。 下面给出递归的遍历所有结点的代码,以及TreeView的构建代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; usi
2013-03-11 19:26:43 6749
转载 ]解决statusStrip控件上的项目不能靠右对齐的问题
原文转载于:http://blog.csdn.net/cdhql/article/details/6119774 在c#中用到了状态栏控件StatusStrip,但当我想把StatusStrip上某个StatusLabel靠右对齐时出了问题。 按照MSDN中的办法,是设置ToolStripStatusLabel的Alignment属性为Right。不过我在设计界面的属性
2013-03-10 20:40:41 2817
转载 C#读取XML时自动过滤掉注释部分
原文地址:http://www.cnblogs.com/Jingkunliu/articles/2854238.html C#在读取XML的时候会读取XML中的全部内容,对于其中注释掉的部分也可以通过节点获取到。 我们可以通过设置IgnoreComments 属性来只读取未加注释的XML信息。 下面是加载为参加注释的XML信息代码: 1: XmlDoc
2013-03-08 16:23:23 1977
Introducing Microsoft SQL Server 2008
2012-05-28
计算机程序设计艺术
2012-05-27
网络聊天源代码
2012-05-14
Microsoft SQL Server 2008 Step by Step
2010-04-22
信号与系统 实习报告 线性系统分析
2008-12-12
数据库综合实习论文 图书馆管理系统
2008-11-27
计算机图形学实习代码 全部 c++ openGL
2008-11-24
AdaBoost人脸检测程序
2012-06-04
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人