Bubble Act

  / * Bubble sort of * / 
  For (i = 0; i <NUM-1; i + +) / * the circle: control over several times * / 
  For (j = NUM-1; j> i; j -) / * loop: for every trip compared * / 
  If (data [j] <data [j-1]) / * If data [j]> data [j-1], the…

How to be submitted to the back pages

  Browser back button allows us to facilitate the return of previously visited pages, it will undoubtedly be very useful.    But sometimes we have to close this function to prevent users from disrupting the scheduled page order.    This paper introduces the network can be…

Get rid of the myth of java (2): parameter is the site -

  Get rid of java myth (2) 

  Author: cherami translation 
  Friday, August 16 2002 10:18 AM 

  Get rid of java Myth two: parameters are site - 

  Java in different news group, the parameters…

CodeDom use to generate. Document cs

  In the use of dynamically generated CodeDom. Cs documents and use help in the case, the code does not actually compiled by 
  Their changes through debugging, after finishing the main code as follows: 

How to make like Foxmail, MSN form the effect of the news

  Procedure TForm1.FormCreate (Sender: TObject); 
Begin
  Form1.Top: = Screen.Height; 
  Form1.Left: = Screen.Width - Form1.Width; 
  SysTmrTimer.Enabled: = True; 
End;

  Procedure TForm1.SysTmrTimerTimer (Sender:…

Ant Chinese Manual - download and install

  Getting Ant 

  Get ant 

  Binary Edition 

  Binary version 

  The latest stable version of Ant is available from…

Compile their own resources document editor (reseditor.exe)

  Vs.net2003 itself with a resource document editing software, but by default does not compile Yi, can not be used.    Below is my tool for Interpretation of this process: 

  1. Reseditor find this directory.    In general, " 
  Program…

A * algorithm Wayfinding algorithm (shortest path??) Code Document 1

  Traditional A * algorithm is a valuation function int judge (int x, int y) 

  / / Function valuation, the valuation x, y distance to the destination, with an estimated value than the actual value must ensure that small 

  This procedure algorithm assumptions…

Rapid detection of PocketPC how it has been connected to a PC

  If in the process of testing PocketPC (hereinafter referred PPC) it has been connected to the PC.    PocketPC SDK provides a set RAPI function, through which we can CeRapiInit or CeRapiInitEx to detect. 

  First, CeRapiInit, which is defined as: 

 …

A * algorithm Wayfinding algorithm (shortest path??) Code document 2

  / / Find_path.cpp: implementation of the find_path class. 
  / / 
  ////////////////////////////////////////////////// //////////////////// 

  # Include "stdafx.h" 
  # Include "find_path.h"