ʹÓà Custom AppWizard ±à³ÌÓÉÓÚ Custom AppWizard ÒÑÍê³ÉÁËËùÓÐÀýÐеŤ×÷£¬ÎÒÃÇÖ»ÐèÒª¶Á³öÔʼÊý¾Ý£¬¶ÔÆä½øÐд¦Àíºó£¬Ð´Èë½á¹û»º³åÇø¾ÍÐÐÁË¡£¾ßÌå¿É²ÎÔÄÍøÓÑ Normal µÄ´ó×÷£¬´Ë´¦²»ÔÙ׸Êö¡£Óм¸µã²¹³äÈçÏ£º
1¡¢º¯Êý·µ»Ø -1 ±íʾ´íÎó»òÈ«²¿Êý¾ÝÎÞЧ£¬·ñÔò·µ»ØµÚÒ»¸öÓÐЧֵλÖ㬼´:
m_pResultBuf[·µ»ØÖµ] -- m_pResultBuf[m_nNumData-1]¼äΪÓÐЧֵ¡£
2¡¢Custom AppWizard Ö»ÊÊÓÃÓÚ VC 6.0 £¬²»ÄÜÓÃÓÚ VC 5.0 ¡£
²»Ê¹Óà Custom AppWizard ±à³Ì
ÊÖ¹¤±à³ÌµÄ»°£¬Òª×¢ÒâÒÔϼ¸µã£º
1¡¢º¯Êý²ÎÊý´«µÝ˳Ðò±ØÐë°´ÕÕ C ¹æÔò£¬Èç¹ûÎļþÀ©Õ¹ÃûÓà .cpp £¬Ôòº¯ÊýÉùÃ÷±ØÐë°üº¬ÔÚ extern "C" {}
µÄÀ¨ºÅÖУ»
2¡¢Project -> Settings... -> C/C++ -> Category: General
-> Preprocessor definitions ÖмÓÈë FXJFUNC_EXPORTS £»
3¡¢±àÒëʱѡÔñ1×Ö½Ú¶ÔÆ룬¼´
Project -> Settings... -> C/C++ -> Category: Code Generation
-> Struct member alignment: Ñ¡ 1 Byte£»
ʹÓÃÆäËü±à³Ì¹¤¾ßµÄ£¬¿É²Î¿¼ÒÔÉÏÉèÖá£
²»×ã¼°ÆÚÍû
±à³Ì½Ó¿ÚËäÈ»´ó´óÔöÇ¿Á˹«Ê½±àÖƵÄÄÜÁ¦¼°Áé»îÐÔ£¬µ«Ò²´æÔÚ²»×ãÖ®´¦¡£±ÈÈ磬ֻÄܱ»¶¯»ñÈ¡ÔʼÊý¾Ý£¬²»ÄÜÖ÷¶¯È¡µÃÆäËü¸ö¹ÉµÄÖ¸¶¨Êý¾Ý£»»¹ÓУ¬²»ÄÜͬʱȡµÃ²»Í¬ÖÜÆÚµÄÊý¾Ý£»ÁíÍ⣬²»Ìṩ»ù±¾µÄº¯Êý¿â£¬Á¬Òƶ¯Æ½¾ùÒ²µÃ×Ô¼º¶¯ÊÖ¡£ÓÉÉϿɼû£¬±à³Ì½Ó¿ÚÒ²ÓÐÆä¾ÖÏÞÐÔ£¬²¢·ÇÍòÄÜ¡£ÎÒÃÇÆÚÍû»ãÌìÆæ¶ÔÆä×÷½øÒ»²½µÄÍêÉÆ¡£
£¨17£©¡¢×Ա๫ʽÖеü´ú†–î}µÄ½â¾ö°ì·¨
µü´ú£¬ÀûÓÃÉϴμÆËã½á¹ûÖظ´¼ÆË㣬ºÍµÝ¹é¸ÅÄîÏà½ü£¬²»Í¬ÊǵݹéÊÇ´ÓºóÍùÇ°ÍÆ£¬¶øµü´úÊÇ´ÓÍ·µ½Î²¼ÆË㣬´ÓÇ°ÍùºóÍÆ£¬ºÜ¶à¶¨ÒåÊÇÓõݹ鶨ÒåµÄ£¬µ«µÝ¹éÕ¼ÓÃ×ÊÔ´½Ï¶à£¬Ð§Âʽϵͣ¬ËùÒÔ³£³£Óõü´ú»ò»ØËÝʵÏÖ¡£¡¾½»Ò×֪ʶmacd.org.cnÊÕ¼¯ÕûÀí¡¿
Èç½×³ËµÄ¶¨Ò壺P(n)=P(n-1)*n£»
ʵÏÖʱÔò¿ÉÓõü´ú£ºfor(P=i=1; i<=n; i++){ P = P*i; }
ÔÚ·ÖÎö¼Ò¹«Ê½ÏµÍ³ÖУ¬¼È²»Ö§³ÖµÝ¹é£¬ÓÖ²»Ö§³Öµü´ú(Ñ»·)£¬ÄѵÀºÜ¶àµÝ¹é¶¨ÒåµÄ¹«Ê½²»ÄÜʵÏÖÂð£¿
ÓÐһЩ¿ÉÒÔʵÏÖ£¡ÓÐÁ½·N·½·¨ÎÒÃÇ¿ÉÒÔ³¢ÊÔ£º
1¡£ÀûÓÃͳ¼Æº¯Êý
ÈçOBVÖ¸±ê£¬ËüµÄËã·¨ÊÇ£º´ÓÉÏÊеÚÒ»ÌìÆð£¬ÖðÈÕÀۼƹÉƱ×ܳɽ»Á¿£¬Èôµ±ÈÕÊÕÅ̼۸ßÓÚ×òÊÕ£¬ÔòÇ°OBV¼Óµ±Èճɽ»Á¿Îªµ±ÈÕOBV£¬·ñÔò¼õµ±Èճɽ»Á¿Îªµ±ÈÕOBV¡£´ÓËã·¨ÉÏ¿´£¬ËüÊǸöµäÐ͵ÄÐèÒªµü´ú¼ÆËãµÄÀý×Ó£¬µ«ÈÃÎÒÃÇ¿´¿´·ÖÎö¼ÒÊÇÔõÑùʵÏֵģº
SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF(CLOSE,1),-VOL,0)),0)
ËüÓÃÒ»¸öͳ¼Æº¯ÊýSUM¾Í½â¾öÁ˵ü´úµÄ†–î}¡£Õâ·N·½·¨Äܽâ¾öÿÌìȨÖØÏàͬµÄÇé¿ö£¨Ò²¾ÍÊÇÿһÌìͬµÈ¶Ô´ý£¬ÌصãÊÇÓÃÖ»ÓüӼõÔËË㣩¡£ÄǶÔÓÚÿÌ첻ͬȨÖصĹ«Ê½Ôõô°ìÄØ£¿
¹²19Ò³: ÉÏÒ»Ò³ [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] 17 [18] [19] ÏÂÒ»Ò³