自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 资源 (3)
  • 收藏
  • 关注

原创 SQL Server2008学习笔记1

SELECT FAge, COUNT(*) as '数目' FROM T_Employee GROUP BY FAge; --SELECT FAge, COUNT(*) FROM T_Employee --GROUP BY FAge;fault SELECT FAge, MAX(FSalary) as salary,COUNT(*) as number FROM T_Employee GROU

2011-11-28 11:21:15 590

原创 c#学习笔记

*属性: 属性开头字母大写 属性可以判断输入的非法值 属性本身不存储值->依靠字段 *索引器 using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace b { class Program { static v

2011-11-25 21:03:07 263

原创 实用链表(待续)

#include #include typedef struct node { struct node *next; int data; }node,*link,*position; typedef struct linklist { link head, tail; int len; }linklist; void MakeNode(link *p,int e) { *p =

2011-11-19 17:14:53 292

原创 带头结点的双向循环链表

#include #include typedef struct node { int data; struct node*next, *prior; }node,*link; void ListIni(link *list) { *list = (link)malloc(sizeof(node)); if(*list) { exit(-1); } (*list)->da

2011-11-18 16:25:34 1095

原创 带尾节点的循环链表基本操作

#include #include typedef struct node { int data; struct node *next; }node,*link; void ListIni(link *list) { *list = (link)malloc(sizeof(node)); if(!(*list)) { exit(-1); } (*list)->data =

2011-11-18 14:43:30 1013 1

原创 带头结点的链表

#include #include #include "4.h" /* typedef struct node {     int data;     struct node *next; }node,*link; */ void ListIni(link *list) { *list = (link)malloc(sizeof(node)); if(!(*list))

2011-11-15 16:41:08 294

原创 带头结点的循环链表基本操作

#include #include typedef struct node { int data; struct node * next; }Node,*link; void InitList(link * list) { (*list) = (link)malloc(sizeof(Node)); if(!(*list)) { exit(-1); } (*list)->d

2011-11-14 15:50:16 453

转载 动态语言

<br />源地址:<br />http://www.3snews.net/html/58/6358-8173.html<br /> <br />通常我们所说的动态语言、静态语言指 动态类型语言(Dynamically Typed Language)和 静态类型语言Statically Typed Language)。<br />还有一个 Dynamic Programming Language (动态编程语言),静态编程语言。<br /><br />    动态类型语言:在运行期间检查数据的类型的语言。用

2011-02-25 12:44:00 586

转载 Programmer Competency Matrix

Programmer Competency MatrixNote that the knowledge for each level is cumulative; being at level n implies that you also know everything from the levels lower than n.Computer Science 2n (Level 0)n2 (Level 1)n (Level 2)log(n) (Level 3)Commentsdata structure

2010-12-04 16:06:00 329

转载 Programmer Competency Matrix

<br />Programmer Competency MatrixNote that the knowledge for each level is cumulative; being at level n implies that you also know everything from the levels lower than n.Computer Science 2n (Level 0)n2 (Level 1)n (Level 2)log(n) (Level 3)Commentsdata str

2010-12-04 16:06:00 386

转载 dijkstra最短路径算法C实现

//path记录上一个节点# include # include # define maxlen 10# define large 999typedef struct{    int vexnum;    char vexs[maxlen];    int arcs[maxlen][maxlen];}graph;void init_graph(graph *g){    int i = 0,j = 0;    g -> vexnum = 5;    for(i = 0; i         for(j =

2010-11-09 12:20:00 539

原创 递归逆序数组元素

#include #include void reverseArray(int array[], int number); void swap(int* x, int* y); int a[5] = {0,1,2,3,4}; int main() { reverseArray(a, 5); int count; for(count = 0; count

2010-10-14 14:30:00 951

原创 两种方法寻找一个集合的所有子集

<br />#include <iostream> using namespace std; const int n = 4; int x[n]; char str[n][50] = {'id','name','sex','age'}; //回溯法 void backtrack(int t) { if(t >= n) { for(int i = 0; i < n; i++) cout<<x[i]; cou

2010-10-14 00:19:00 723

原创 寻找主键小程序

<br />#include <iostream> #include <fstream> using namespace std; ofstream outfile("C://Users//yanfeng//Desktop//1.txt"); int num = 6; int const numTable = 2;//表的个数 int const numCol = 6;//表的列数 int const numRow = 6;//表的行数 int keyArray[numCol

2010-10-14 00:17:00 381

转载 参加ACM比赛所需的基础知识(转)

http://www.yuanma.org/data/2007/0612/article_2663.htm一、语言是最重要的基本功   <br />    <br />          无论侧重于什么方面,只要是通过计算机程序去最终实现的竞赛,语言都是大家要   <br />  过的第一道关。亚洲赛区的比赛支持的语言包括C/C++与JAVA。笔者首先说说JAVA,众所周知,作为面向对象的王牌语言,JAVA在大型工程的组织与安全性方面有着自己独特的优势,但是对于信息学比赛的具体场合,JAVA则显得不那么合适

2010-10-12 16:13:00 780

转载 &操作符常见用法

<br />一种是按位与 1 & 2 = 0<br />一种是取地址int* p = &a;<br />一种是声明引用,相当于定义变量别名:<br /><br />int a = 3;<br />int& b = a; // b是a的引用,a,b是同一个变量<br />b = 4; // a也变化为4<br />int c = 2;<br />b = c; // 是赋值给b或a,而不是把b作为c的引用,引用一旦被声明,引用对象不可更改<br /><br />引用的实质是指针的简化运用版,上面的代码等价为:<

2010-10-10 15:54:00 352

转载 C++中的向量学习

<br />#include <iostream><br />#include <vector>//要包含这个头文件<br />usingnamespace std;<br /><br />int main(void)<br />{<br /><br /> vector<int> a(10);//定义了10个整数元素的向量,但没有给出初值,因而,其值是不确定滴。<br />    vector<int> b(10,1);//定义了10个证书元素的向量,且给出每个元素的初值为1<br />    vec

2010-10-10 12:49:00 899

基于Wattch模型的功耗分析方法

基于Wattch模型的功耗分析方法,希望对大家有用。

2010-04-07

C语言全本,不错的资料

请用Notepad++打开,主要是介绍型的资料

2009-11-27

空空如也

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

TA关注的人

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