art_dll.c
来自「自适应共振神经网络可以实现自动学习与分类具有自适应的功能」· C语言 代码 · 共 36 行
C
36 行
/* ------------------------------------------------------------------------- */
/* The ART Gallery */
/* ------------------------------------------------------------------------- */
/* Art_DLL.c */
/* Version: 1.0 */
/* Written By: Lars H. Liden laliden@cns.bu.edu */
/* Last Update: 8/02/95 */
/* */
/* The following code is used to compile The ART Gallery as a dynamic linked */
/* library using Borland C++ */
/* */
/* Please see Art_Doc.txt for a full documentation. */
/* */
/* Send all bug reports to laliden@cns.bu.edu */
/* ------------------------------------------------------------------------- */
#include <windows.h>
/*------------------------------------------------------------------------ */
/* LibMain */
/* */
/* Returns: int - status of operation */
/* -1 - if DLL was successfully loaded */
/*------------------------------------------------------------------------ */
int FAR PASCAL LibMain( HANDLE hInstance, WORD wDataSegment, WORD wHeapSize,
LPSTR lpszCmdLine )
{
hInstance = hInstance; // These lines are simply used to get
wDataSegment = wDataSegment; // rid of compiler warnings and are
lpszCmdLine = lpszCmdLine; // useless.
if ( wHeapSize != 0 )
UnlockData( 0 );
return (-1); // Indicate that the DLL was initialized successfully.
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?