exit.h

来自「数据挖掘经典的hierarchial clustering algorithm」· C头文件 代码 · 共 42 行

H
42
字号
/*
  ========================================================================
  DEVise Data Visualization Software
  (c) Copyright 1992-1996
  By the DEVise Development Group
  Madison, Wisconsin
  All Rights Reserved.
  ========================================================================

  Under no circumstances is this software to be copied, distributed,
  or altered in any way without prior permission from the DEVise
  Development Group.
*/

/*
  $Id: Exit.h,v 1.4 1996/10/08 21:49:01 wenger Exp $

  $Log: Exit.h,v $
  Revision 1.4  1996/10/08 21:49:01  wenger
  ClassDir now checks for duplicate instance names; fixed bug 047
  (problem with FileIndex class); fixed various other bugs.

  Revision 1.3  1996/04/16 19:45:35  jussi
  Added DoAbort() method and DOASSERT macro.

  Revision 1.2  1995/09/05 21:12:45  jussi
  Added/updated CVS header.
*/

#ifndef Exit_h
#define Exit_h

#define DOASSERT(c,r)    { if (!(c)) Exit::DoAbort(r, __FILE__, __LINE__); }

class Exit {
public:
  static void DoExit(int code = 0);
  static void DoAbort(char *reason, char *file, int line);
};

#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?