CÓïÑÔдµÄ×Ö½Ú²éѯÆ÷£¨³õѧCÁ·ÊÖÓã©
ÓÃCÓïÑÔдµÄÒ»¸ö¼òµ¥µÄ×Ö½ÚÐͲéѯÆ÷£¬Ö÷Òª¹¦ÄÜÊÇʵÏÖ¶Ô signed int float unsigned int double signed short int long double unsigned short int char long int unsigned long int Õ⼸¸öÀàÐ͵Ä×Ö½ÚÕ¼ÓõIJéѯ ÓõÄÊÇVC6±àÒëÆ÷ ËùÒÔ²¢²»ÍêÈ«ÊÇ´¿CµÄ
/************************************************************************
* Copyright (c) 2009, Simple1Day
*
* ÎļþÃû³Æ£ºItem1.cpp
* ͻ񻣼
* Ìṩ²éѯint,short,long,float,doubleÊý¾ÝÀàÐÍÕ¼ÓÃÄÚ´æ×Ö½Ú´óС
*************************************************************************/
#include "stdafx.h"
#include <stdio.h>
#include <stdlib.h>
#include <windows.h>
#include <conio.h>
//Ö´Ðк¯Êý¶¨Òå
void SetInterface(void);//´°¿ÚÉèÖú¯Êý
int QueryType(char * _pch);//²éѯº¯Êý
char ExChange(char _chLetter);//´óдת»»Ð¡Ð´
void LoadStart(void);//¿ªÊ¼»Ãæ
void LoadGuage(void);//ÔØÈë½ø¶ÈÌõ
void GotoXY(int x,int y); //¹â±ê¶¨Î»x,y
void SetColor(unsigned short ForeColor=4,unsigned short BackGroundColor=0); //ÉèÖÃ×ÖÌåÑÕÉ«
int IseChar(char* _pch,int _nNum); //Çиî×Ö·û(¿Õ¸ñºó¿ªÊ¼)
int CtoI(char* _pch); //×Ö·ûתÕûÐÍ
int GetInput(char* _pchinput); //ÊäÈë×Ö·û´®
void OpenHelp(void); //´ò¿ª°ïÖú
int Accord(char* _pchA,char* _pchB,int* _pnValue);//ÅжϷûºÏ¶È
void MenuOptions();//Ñ¡Ôñ²Ëµ¥
void Typewriter(char* _psz,int _nSleep=200,int _nX=0,int _nY=0,int _nColor=30); //²ÊÉ«´ò×Ö»ú
void CheckInputError(int _arr_nInput[]);//¼ì²é´íÎóλÊý
static int s_nMenu = 0;//Ñ¡Ôñ¿ò°´¼üÖµ
/************************************Main()******************************************
Ïà¹ØÎĵµ£º
c±ä³ÉµÄ¶ÔÏó´ó¶àÊǹ²ÏíÄÚ´æÖÐÉêÇ룬±È½ÏÉÙÓÃmallocÖ±½ÓÀ´ÉêÇ룬ËùÒÔÁ´±íÉè¼ÆÒ»°ãÊÇÏÂÃæ2Öнṹ£º
¶ÔÏó --> ¶ÔÏó --> ¶ÔÏó
¶ÔÏó -->Á´±í¶ÔÏó-->¶ÔÏó -->Á´±í¶ÔÏó
£¨1£©¶ÔÓÚµÚÒ»ÖÖ£¬Á´±íÖ±½Ó¹ØÁªµ½¶ÔÏó±¾Éí£¬ËùÒÔÈç¹ûÒ»¸ö¶ÔÏóÔÚÏûÍöʱ£¬Ã»Óм°Ê±ÇåÀíµôÁ´±í¹Øϵ£¬Ôò»áµ¼ÖÂÁ´±íµôÁ´¡£
£¨2£©Á´±í¶ÔÏó±¾ÉíÊÇÒ» ......
ΪʲôÐèҪʹÓÃextern "C"ÄØ£¿C++Ö®¸¸ÔÚÉè¼ÆC++֮ʱ£¬¿¼Âǵ½µ±Ê±ÒѾ´æÔÚÁË´óÁ¿µÄC´úÂ룬ΪÁËÖ§³ÖÔÀ´µÄC´úÂëºÍÒѾдºÃC¿â£¬ÐèÒªÔÚC++Öо¡¿ÉÄܵÄÖ§³ÖC£¬¶øextern "C"¾ÍÊÇÆäÖеÄÒ»¸ö²ßÂÔ¡£
¡¡¡¡ÊÔÏëÕâÑùµÄÇé¿ö:Ò»¸ö¿âÎļþÒѾÓÃCдºÃÁ˶øÇÒÔËÐеúÜÁ¼ºÃ£¬Õâ¸öʱºòÎÒÃÇÐèҪʹÓÃÕâ¸ö¿âÎļþ£ ......
ºê
È«´óд, Èç¹û±ØÒª, ÓÃÁ¬×Ö·ûÁ¬½Óµ¥´Ê
#define SIZE_LIMIT 1024
#define CONFIG_DEBUG 1
#define PRODUCT_ID 0x1123
ö¾Ù
µ¥´ÊÊ××Öĸ´óд, ²»ÓÃÁ¬×Ö·û
enum {
KeyNumLock,
KeyShift,
Key1,
KayA
} Key;
......
<script>
a=62;
function encode() {
var code = document.getElementById('code').value;
code = code.replace(/[\r\n]+/g, '');
code = code.replace(/'/g, "\\'
");
var tmp = code.match(/\b(\w+)\b/g);
tmp.sort();
var dict = [];
var i, t = '';
for(var i=0; i<tmp.length ......