📄 executable.h
字号:
// $Header: /cvsroot/sourcenav/src/snavigator/demo/c++_demo/glish/Executable.h,v 1.1.1.1 2002/04/18 23:35:24 mdejong Exp $#ifndef executable_h#define executable_h// Searches PATH for the given executable; returns a malloc()'d copy// of the path to the executable, which the caller should delete when// done with.char* which_executable( const char* exec_name );class Executable { public: Executable( const char* arg_executable ); virtual ~Executable(); int ExecError() { return exec_error; } // true if the executable is still "out there" virtual int Active() = 0; virtual void Ping() = 0; protected: char* executable; int exec_error; int has_exited; };#endif /* executable_h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -