摘要: 一.程序设计和运行的环境设置: (1).视窗2000服务器版 (2).Microsoft Data Acess Component 2.6 以上版本 ( MDAC 2.6 ) (3)..Net FrameWork SDK Beta 2 为了更清楚的说明问题,在数据库的选用上,采用了当前比较典型的数据库,一个是本地数据库Access 2000,另外一个是远程数据库Sql Server 2000。其中... 阅读全文
posted @ 2010-02-12 15:08 浓浓的咖啡 阅读(990) 评论(0) 推荐(0) 编辑
摘要: 八皇后问题是一个古老而著名的问题,是回溯算法的典型例题。该问题是十九世纪著名的数学家高斯1850年提出:在8X8格的国际象棋上摆放八个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。 高斯认为有76种方案。1854年在柏林的象棋杂志上不同的作者发表了40种不同的解,后来有人用图论的方法解出92种结果。现代教学中,把八皇后问题当成一个经典递归算法例题。 算... 阅读全文
posted @ 2010-02-12 14:53 浓浓的咖啡 阅读(365) 评论(0) 推荐(0) 编辑
摘要: using System;   namespace QuickSorter   {    public class QuickSorter    {    private void Swap(ref int l,ref int r)    {    int s;  &#... 阅读全文
posted @ 2010-02-12 14:51 浓浓的咖啡 阅读(213) 评论(0) 推荐(0) 编辑
摘要:   希尔排序是将组分段,进行插入排序.    注:并没有实现多态   using System;   public class ShellSorter   {    public void Sort(int [] list)    {    int inc;  ... 阅读全文
posted @ 2010-02-12 14:49 浓浓的咖啡 阅读(112) 评论(0) 推荐(0) 编辑
摘要: using System;   public class InsertionSorter   {    public void Sort(int [] list)    {    for(int i=1;i<list.Length;++i)    {    int t=li... 阅读全文
posted @ 2010-02-12 14:48 浓浓的咖啡 阅读(113) 评论(0) 推荐(0) 编辑
摘要: using System;   public class SelectionSorter   {    // public enum comp {COMP_LESS,COMP_EQUAL,COMP_GRTR};    private int min;    // private int m=0;   ... 阅读全文
posted @ 2010-02-12 14:47 浓浓的咖啡 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 一、适度的研磨是必要的--GRIND IS CRITICAL 理想的研磨程度(与正确的份量、以及适度的夯压结合)将可以使Espresso以稳定而缓慢的速度,滴入您的杯中。如果您研磨的太粗,水比较容易通过咖啡粉,Espresso会以较快的速度流出,口味会比较淡而无味,如果研磨的太细,水较不易流出,而是缓慢的滴出,滴出来的也会是较苦的咖啡。如果使用的是压力较低的Espresso机器,请与滴滤式咖啡机... 阅读全文
posted @ 2010-02-12 14:39 浓浓的咖啡 阅读(710) 评论(0) 推荐(0) 编辑
摘要: 一、Choose your drink 1. 浓缩咖啡(Espresso Shot) Rich, caramelly sweet and delicious, freshly pulled shots of Starbucks Espresso Roast are at the heart of all Starbucksespresso drinks. For a full-flavored... 阅读全文
posted @ 2010-02-12 14:03 浓浓的咖啡 阅读(339) 评论(0) 推荐(0) 编辑