gapp.h
来自「一个由Mike Gashler完成的机器学习方面的includes neural」· C头文件 代码 · 共 34 行
H
34 行
/* Copyright (C) 2006, Mike Gashler This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. see http://www.gnu.org/copyleft/lesser.html*/#ifndef __GAPP_H__#define __GAPP_H__typedef void (*DaemonMainFunc)(void* pArg);class GApp{public: // returns the process ID of the daemon to the parent process. // The daemon process will exit (rather than return) when it finishes. static int LaunchDaemon(DaemonMainFunc pDaemonMain, void* pArg); // Pass in the first command-line arg and it will figure out the // path to the running app. (You must call this method before // changing directories because it uses the current directory path too). static char* GetApplicationPath(const char* szArg0); // Catches seg fault signals (and a few others) and throws static void TurnSegFaultsIntoExceptions();};#endif // __GAPP_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?