¼õÉÙÁ˲»±ØÒªµÄÂé·³¡£
2.2 ϵͳÐèÇó·ÖÎö
Èí¼þµÄÐèÇó·ÖÎöÊÇ´ÓÓû§µÄÒµÎñÖÐÌáÈ¡³öÈí¼þϵͳÄܹ»°ïÖúÓû§½â¾öµÄÒµÎñÎÊÌ⣬ͨ¹ý¶ÔÓû§ÒµÎñÎÊÌâµÄ·ÖÎö£¬¹æ»®³öÎÒÃǵÄÈí¼þ²úÆ·¡£Õâ¸ö²½ÖèÊǶÔÓû§ÒµÎñÐèÇóµÄÒ»¸öÉý»ª£¬ÊÇÒ»¸ö°ÑÓû§ÒµÎñÓÅ»¯£¬×ª»¯ÎªÈí¼þ²úÆ·£¬´Ó¶øÌáÉý¹ÜÀí²¢²úÉúÖʵķÉÔ¾¡£ÕâÒ»²½ÊÇ·ñ³É¹¦£¬Ö±½Ó¹Øϵµ½¿ª·¢³öÀ´µÄÈí¼þ²úÆ·ÄÜ·ñµÃµ½Óû§µÄÈÏ¿É£¬Ë³Àû½»¸¶¸ø¿Í»§£¬¿Í»§ÄÜ·ñÕæÕýÔËÓÃÎÒÃǵIJúÆ·À´°ïÖúËû£¨Ëý£©½â¾öÒµÎñ»ò¹ÜÀíÎÊÌâ¡£°´ÕÕÈí¼þ¹¤³Ì¶ÔÈí¼þ¿ª·¢¹ý³ÌµÄÃèÊö£¬ÐèÇó½×¶ÎÎÒÃÇ¿ÉÒÔϸ·ÖΪÐèÇóµ÷ÑкÍÐèÇó·ÖÎöÁ½¸ö½×¶Î¡£ÐèÇóµ÷ÑÐÐèÒª³ä·ÖϸÖµØÁ˽â¿Í»§Ä¿±ê£¬Óû§ÒµÎñÄÚÈÝ¡¢Á÷³ÌµÈ¡£ÕâÊÇÒ»¸ö¶ÔÐèÇóµÄ²É¼¯¹ý³Ì£¬ÊǽøÐÐÐèÇó·ÖÎöµÄ»ù´¡×¼±¸
[8]
¡£ÐèÇóÊÇ¿ª·¢ÕߺÍÓû§½»»¥µÄÒ»¸ö¹ý³Ì£¬ÈκÎÒ»·½µÄ²»Í¶È붼»áµ¼ÖÂÏîÄ¿µÄʧ
°Ü¡£µ±È»£¬ÓÉÓÚÓû§²»ÊÇרҵÈËÊ¿£¬¿ª·¢ÕßÓÐȨÀû¸æËßÓû§Ó¦¸Ã²ÉÓúÎÖÖ̬¶ÈÀ´¶Ô´ýÏîÄ¿µÄÐèÇó¡£ 2.2.1 Óû§ÐèÇó·ÖÎö
¡¶Êý¾Ý½á¹¹¡·×÷ΪÐÅÏ¢ÀàרҵµÄÒ»ÃźËÐÄרҵ¿Î£¬¶Ô¡¶±àÒëÔÀí¡·µÈºóÐø¿Î³ÌµÄѧϰ¼«ÆäÖØÒª¡£µ«¸Ã¿Î³ÌÉæ¼°´óÁ¿µÄ¸ÅÄî¡¢¶¨Ò塢ģÐͺÍËã·¨£¬ÓÈÆäÊÇͼµÄËã·¨ÏԵúܳéÏóºÍÉî°Â¡£Óô«Í³µÄ¡°·Û±Ê+ºÚ°å¡±ÐÎʽºÜÄѽ«Ëã·¨µÄÖ´Ðйý³Ì¶¯Ì¬µØÑÝʾ³öÀ´£¬Ó°ÏìÁ˽ÌѧЧ¹û¡£Òò´ËÓбØÒª¶ÔͼµÄËã·¨µÄ¶¯Ì¬ÑÝʾ½øÐÐÑо¿£¬Éè¼Æ¡¶Êý¾Ý½á¹¹¡·Ëã·¨ÑÝʾϵͳ£¬£¬°ïÖúѧÉú¸ü¿ìµØÕÆÎÕËã·¨µÄ¾«ËèÓëʵÖÊ¡£
´«Í³µÄ¡¶Êý¾Ý½á¹¹¡·Ëã·¨ÊÇ»ùÓÚÒÔTurboCΪ´ú±íµÄDOS¿ª·¢»µ¾³£¬¿ÉÊÓ»¯Ð§¹ûºÜ²î¡£¶øÕâÖÖ»µ¾³¸øѧϰÕßµÄÀí½âºÍÉîÈë̽ÌÖ´øÀ´ºÜ´óµÄÎÊÌâ¡£ºóÀ´£¬Ëæ×ŶàýÌå¼¼ÊõµÄ·¢Õ¹£¬¡¶Êý¾Ý½á¹¹¡·µÄ½Ìѧ¿ªÊ¼ÔËÓýÌѧ»ÃµÆƬµÄÐÎʽÀ´½²ÊÚ£¬ÕâЩ½Ìѧ»ÃµÆƬ´ó¶àÊý¶¼ÊǾ²Ì¬µÄͼƬ»òÕßÊÇһЩ»ù±¾µÄËã·¨¡£ÕâÖÖ½ÌѧģʽÃÖ²¹ÁË´«Í³µÄºÚ°å°åÊéµÄ²»×㣬½Ï´óµØÌá¸ßÁ˽ÌѧÖÊÁ¿¡£²»¹ýÕâÖÖ½ÌѧģʽÔÚ¿ÉÊÓÐԺͽ»»¥ÐÔ·½Ã涼´æÔڽϴóµÄ²»×㡣Ŀǰ£¬»¹ÓÐÒ»ÖÖ½ÌѧģʽÊDzÉÓÃflash¶¯»ÑÝʾ²¢Åä¼ÓÒ»¶¨µÄÎÄ×Ö˵Ã÷µÄ·½Ê½£¬ÕâÖÖ·½Ê½¿ÉÒÔÔںܴó³Ì¶ÈÉϽÒʾËã·¨ÔÀí£¬Î¨Ò»µÄÒź¶¾ÍÊÇÕâÖÖ¶¯»ÑÝʾµÄÄÚÈݲ»ÊǺÜÈ«Ã棬¶øÇÒÔÚÓëѧϰÕߵĽ»»¥ÐÔ·½Ãæ´æÔÚ²»×㣬²»ÄÜÈÃѧϰÕß×Ô¼ºÊäÈëÏà¹ØµÄ²ÎÊý¡£Òò´Ë£¬¼±ÐèÒ»¿î¿ÉÊÓÐÔ£¬½»»¥ÐÔ¼«Ç¿µÄ¶¯Ì¬ÑÝʾϵͳ£¬Ê¹µÃÀÏʦÄܹýÐÎÏóÉú¶¯µÄÏòѧÉúÑÝʾ£¬´ó´ó¸ÄÉÆ´«Í³½ÌѧµÄ±×¶Ë£¬Ê¹¸´ÔÓµÄÄÑÒÔÀí½âµÄÊý¾Ý½á¹¹Ë㷨ͨ¹ý½ÌʦµÄ¿ÎÌÃÑÝʾºÍѧϰÕߵIJ»¶Ï
×ÔÎÒ½»»¥Ê½²Ù×÷ÊÔÑé±äµÃͨË×Ã÷ÀÊ£¬ÓÐЧµØÌá¸ß½ÌѧµÄÖÊÁ¿ºÍЧ¹û¡£
2.3 ¿ª·¢¹¤¾ß¼°Àà¿âµÄÑ¡Ôñ
¸ù¾ÝϵͳÐèÇóÈ·¶¨¿ª·¢Æ½Ì¨ÎªWindows XP£¨SP2£©¡¢Visual Studio
2010¡£
Ö÷Òª¿ª·¢¹¤¾ßΪ Microsoft Visual C++¡£
Visual Studio 2008 ÌṩÁ˸߼¶¿ª·¢¹¤¾ß¡¢µ÷ÊÔ¹¦ÄÜ¡¢Êý¾Ý¿â¹¦ÄܺÍ
´´Ð¹¦ÄÜ£¬°ïÖúÔÚ¸÷ÖÖƽ̨ÉÏ¿ìËÙ´´½¨µ±Ç°×îÏȽøµÄÓ¦ÓóÌÐò¡£
Visual Studio 2008 °üÀ¨¸÷ÖÖÔöÇ¿¹¦ÄÜ£¬ÀýÈç¿ÉÊÓ»¯Éè¼ÆÆ÷£¨Ê¹
Óà .NET Framework 3.5 ¼ÓËÙ¿ª·¢£©¡¢¶Ô Web ¿ª·¢¹¤¾ßµÄ´óÁ¿¸Ä½ø£¬ÒÔ¼°Äܹ»¼ÓËÙ¿ª·¢ºÍ´¦ÀíËùÓÐÀàÐÍÊý¾ÝµÄÓïÑÔÔöÇ¿¹¦ÄÜ¡£Visual Studio 2008 Ϊ¿ª·¢ÈËÔ±ÌṩÁËËùÓÐÏà¹ØµÄ¹¤¾ßºÍ¿ò¼ÜÖ§³Ö£¬°ïÖú´´½¨ÒýÈËעĿµÄ¡¢ÁîÈËÓ¡ÏóÉî¿Ì²¢Ö§³Ö AJAX µÄ Web Ó¦ÓóÌÐò¡£
2.4 ϵͳ×ÜÌå·½°¸Éè¼Æ
±¾ÏµÍ³¹²·ÖΪÁ½¸ö¶Ô»°¿ò£º³õʼ»¯¶Ô»°¿ò¡¢ÑÝʾ¶Ô»°¿ò¡£³õʼ»¯¶Ô»°¿ò£ºÓÃÓÚ¶ÔÊý¾ÝµÄ³õʼ»¯£¬´´½¨½áµã¡¢´´½¨»¡£¬È»ºóÏÔʾͼ£¬ÖØÐÂÅÅÁнáµãλÖã¬Ê¹Ö®¾ßÓмò½àÃÀ¹Û¡£×îºó´´½¨Íê³É¡£³õʼ»¯¶Ô»°¿òÒ²¿ÉÒÔÓÐÍ˳ö£¬±£Ö¤³ÌÐòÉè¼ÆµÄºÏÀíÐÔ¡£ºÍ˼άµÄÑÏÃÜÐÔ¡£
ÑÝʾ¶Ô»°¿ò£º¸Ã¶Ô»°¿òÓÐÎ岿·Ö£¬·Ö±ðÊÇ£ºÍ¼µÄËÑË÷˳ÐòÑÝʾ¡¢³ÌÐòµ÷ÓõĶÑջģÄ⡢ʾÀýÔ´³ÌÐò´úÂëÏÔʾ¡¢µ±Ç°±äÁ¿ÖµÏÔʾ¡¢ÆäËü°´Å¥£¨ÓÃÓÚ¿ØÖƶԻ°¿òÏÔʾ£©¡£°´½á¹¹»¯³ÌÐòÉè¼Æ˼ÏëºÍʵ¼ÊµÄ·ÖÎö£¬·ÖÎöµÃ³öͼ2.1ϵͳ¹¦ÄÜÄ£¿éͼ£º
Éî¶ÈÓÅÏÈËÑË÷ ³õ ʼ»¯¶Ô»°¿ò ´´´´ÏÔÍêÍË ½¨½¨Ê¾³ö ³É ½á»¡ ͼ µã ͼ2.1 ϵͳ¹¦ÄÜÄ£¿éͼ
ÑÝʾ¶Ô»°¿ò ÍË ³ö×Ôµ¥ÖÕ ¶¯²½Ö¹ÑÝÑÝÑÝʾ ʾ ʾ
µÚÈýÕ ϵͳʵÏÖ
3.1 DFSearch.cppºÍDFSearch.hµÄʵÏÖ
// DFSearch.cpp : Defines the class behaviors for the application. //
#include \#include \#include \#ifdef _DEBUG
#define new DEBUG_NEW #undef THIS_FILE
static char THIS_FILE[] = __FILE__; #endif CDFSearchApp
BEGIN_MESSAGE_MAP(CDFSearchApp, CWinApp)
//{{AFX_MSG_MAP(CDFSearchApp)
// NOTE - the ClassWizard will add and remove mapping macros // DO NOT EDIT what you see in these blocks of generated
here. code!
//}}AFX_MSG
ON_COMMAND(ID_HELP, CWinApp::OnHelp)
END_MESSAGE_MAP() // CDFSearchApp construction CDFSearchApp::CDFSearchApp() { }
// The one and only CDFSearchApp object CDFSearchApp theApp;
// TODO: add construction code here,
// Place all significant initialization in InitInstance